summaryrefslogtreecommitdiff
path: root/UI/GameOver.gd
blob: 13f3cfa0abf1c0ec2f6f5f37df168236a9dd780d (plain)
1
2
3
4
5
6
7
8
9
extends Control


func _ready():
	$Panel/VBoxContainer/Winner.text = Network.winning_player.name + " won!"


func _on_BackToLobby_pressed():
	get_tree().change_scene_to_file("res://Network/Lobby.tscn")