diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-02-10 23:53:06 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-02-10 23:53:06 +0100 |
commit | c62cf258a8ba1c8f40c69208a28a82c5afc71343 (patch) | |
tree | ec906ee025b59487d8ee3d8716dc8a59b68eea6d /Global.gd | |
parent | e216bf93e77ceb42c8c5dc5e77ebff6e1968faa3 (diff) |
Adds GameOver screen
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() |