fixed bug where climbing sound wouldnt stop after death
This commit is contained in:
parent
79edbcb36e
commit
01d2662734
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ func exit_transport():
|
||||||
current_state = State.FALL
|
current_state = State.FALL
|
||||||
|
|
||||||
func die():
|
func die():
|
||||||
|
Game.ac_climb.set_stream(null) # stop climbing sound
|
||||||
if current_state == State.INACTIVE:
|
if current_state == State.INACTIVE:
|
||||||
return
|
return
|
||||||
var new_particles = death_particles.duplicate()
|
var new_particles = death_particles.duplicate()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue