This commit is contained in:
aozhiwei 2021-08-04 11:05:59 +00:00
parent 300ca969c8
commit d577d9c64e

View File

@ -217,8 +217,7 @@ void Player::UpdateShot()
if (second_weapon.meta) { if (second_weapon.meta) {
p_weapon = &second_weapon; p_weapon = &second_weapon;
} }
if (!p_weapon->meta->power_charge.empty() && if (!p_weapon->meta->power_charge.empty() && power_idx < 1) {
power_idx + 1 != p_weapon->meta->power_charge.size()) {
shot_start = false; shot_start = false;
shot_hold = false; shot_hold = false;
series_shot_frames = 0; series_shot_frames = 0;