Browse Source

Fix: GameOver not working after loading game

master
Felipe M 6 months ago
parent
commit
e1dac6f649
Signed by: fmartingr GPG Key ID: 716BC147715E716F
  1. 1
      metroidvania/Scenes/World/World.gd

1
metroidvania/Scenes/World/World.gd

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

Loading…
Cancel
Save