diff options
Diffstat (limited to 'Global.gd')
-rw-r--r-- | Global.gd | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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() |