diff options
Diffstat (limited to 'UI/GameOver.gd')
-rw-r--r-- | UI/GameOver.gd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/UI/GameOver.gd b/UI/GameOver.gd new file mode 100644 index 0000000..6340e89 --- /dev/null +++ b/UI/GameOver.gd @@ -0,0 +1,9 @@ +extends Panel + + +func _ready(): + $Winner.text = Network.winning_player.name + " won!" + + +func _on_BackToLobby_pressed(): + get_tree().change_scene("res://Network/Lobby.tscn") |