diff --git a/nodes/player/player.gd b/nodes/player/player.gd index 2c7b81d..6d3fea8 100644 --- a/nodes/player/player.gd +++ b/nodes/player/player.gd @@ -202,12 +202,12 @@ func handle_sprite_orientation(): elif is_on_ceiling_only(): if velocity.x != 0: - $oriented_container.rotation = 0 if (velocity.x > 0) else PI + $oriented_container.rotation = 0.0 if (velocity.x > 0) else PI sprite.flip_v = velocity.x > 0 sprite.flip_h = false else: if velocity.x != 0: - $oriented_container.rotation = 0 if (velocity.x > 0) else PI + $oriented_container.rotation = 0.0 if (velocity.x > 0) else PI sprite.flip_v = velocity.x < 0 sprite.flip_h = false