respawn only happens after dying (fixes #64)

This commit is contained in:
pennyrigate 2023-03-07 18:44:35 -05:00
parent 3ac3c7343c
commit 512469f732

View file

@ -348,7 +348,6 @@ func die():
if use_iframes:
iframe_timer.start()
can_die = false
#Respawn player
current_state = State.IDLE
sprite.visible = true