HOTFIX: reset springarm position on respawn

This commit is contained in:
Squinty 2024-04-24 22:35:01 +02:00
parent 071ddb20fb
commit e02f52be49

View file

@ -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()