Renamed CrouchShape to SmallCrouchShape

Easier to search for on VSC
This commit is contained in:
KirbyKidJ
2025-09-22 21:51:48 -07:00
parent d501e08995
commit cd2e7522b5
2 changed files with 4 additions and 4 deletions

View File

@@ -440,7 +440,7 @@ func handle_power_up_states(delta) -> void:
var big_crouch := power_state.hitbox_size == "Big" and crouching
for i in get_tree().get_nodes_in_group("SmallCollisions"):
if i.owner == self:
if i.name.begins_with("Crouch"):
if i.name.begins_with("SmallCrouch"):
i.set_deferred("disabled", power_state.hitbox_size == "Small" and !crouching)
else:
i.set_deferred("disabled", small_crouch or power_state.hitbox_size == "Big" and !crouching)