1
0
Fork 0

Fix: GameOver not working after loading game

This commit is contained in:
Felipe M 2021-05-23 15:59:26 +02:00
parent c4bdfcba8d
commit e1dac6f649
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ func _ready():
SaverLoader.is_loading = false
MainInstances.Player.connect("hit_door", self, "_on_Player_hit_door")
MainInstances.Player.connect("died", self, "_on_Player_died")
func _on_Player_hit_door(door):
# Executes the function after the current tick of the game is done, to make