From e02f52be49ab9d5a20394b32aa820ce17e3a7b44 Mon Sep 17 00:00:00 2001 From: Squinty Date: Wed, 24 Apr 2024 22:35:01 +0200 Subject: [PATCH] HOTFIX: reset springarm position on respawn --- entities/player/player.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/entities/player/player.gd b/entities/player/player.gd index 3acaba9..5b9a4fa 100644 --- a/entities/player/player.gd +++ b/entities/player/player.gd @@ -236,6 +236,7 @@ func die(killer_id : int) -> void: died.emit(self, killer_id) func respawn(location : Vector3) -> void: + animation_player.stop() player_state = PlayerState.PLAYER_ALIVE linear_velocity = Vector3() health_component.heal_full()