mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-19 19:44:46 +00:00
HOTFIX: reset springarm position on respawn
This commit is contained in:
parent
071ddb20fb
commit
e02f52be49
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue