fix drowning always softlocking

This commit is contained in:
Haze Weathers 2023-09-11 16:45:47 -04:00
parent 8264c9c1b8
commit 48af9875b5

View file

@ -83,7 +83,7 @@ func _ready() -> void:
func _physics_process(delta: float) -> void:
# snap sprite
graphics.global_position = global_position.round()
sprite.global_position = graphics.global_position.round() + Vector2(0.0, -10.0)
# update transition guard properties
# whether player can currently shoot an arrow
var can_shoot = Game.arrows > 0 and get_tree().get_nodes_in_group("player_arrow").size() == 0