summaryrefslogtreecommitdiff
path: root/Global.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Global.gd')
-rw-r--r--Global.gd7
1 files changed, 2 insertions, 5 deletions
diff --git a/Global.gd b/Global.gd
index 3c8a3a3..7f7582c 100644
--- a/Global.gd
+++ b/Global.gd
@@ -110,11 +110,8 @@ func end_game():
emit_signal("game_ended")
-func _on_Network_game_ended(winning_player):
- # TODO: change scene for all to win scene and set winning player id,
- # so it can be displayed with self.players
- print(winning_player)
- get_tree().change_scene("res://Network/Lobby.tscn")
+func _on_Network_game_ended():
+ get_tree().change_scene("res://UI/GameOver.tscn")
self.Level_Map = []
self.init()