fixed up players getting stuck in blocks, after collecting a powerup mid air

This commit is contained in:
JHDev2006
2025-10-02 10:09:21 +01:00
parent f088c9b606
commit 05bca140fd
5 changed files with 47 additions and 61 deletions

View File

@@ -669,8 +669,7 @@ func get_power_up(power_name := "") -> void:
await power_up_animation(power_name)
else:
return
if new_power_state.hitbox_size == "Big" and power_state.hitbox_size == "Small":
check_for_block()
check_for_block()
power_state = new_power_state
Global.player_power_states[player_id] = str(power_state.get_index())
can_hurt = true