🐛 Fixes bad orientation on ceiling when jumping out

main
Ervan Lefevre 2 years ago
parent 2f387a1a7b
commit 57dcd72f36
  1. 1
      nodes/player/player.gd

@ -196,6 +196,7 @@ func handle_sprite_orientation():
if velocity.x != 0:
$oriented_container.rotation = 0 if (velocity.x > 0) else PI
sprite.flip_v = velocity.x < 0
sprite.flip_h = false
func on_enter_swim_state():
gravity = WORLD_GRAVITY / 2

Loading…
Cancel
Save