summaryrefslogtreecommitdiff
path: root/UI/GameOver.gd
diff options
context:
space:
mode:
Diffstat (limited to 'UI/GameOver.gd')
-rw-r--r--UI/GameOver.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/UI/GameOver.gd b/UI/GameOver.gd
index 8ff8309..13f3cfa 100644
--- a/UI/GameOver.gd
+++ b/UI/GameOver.gd
@@ -1,8 +1,8 @@
-extends Panel
+extends Control
func _ready():
- $Winner.text = Network.winning_player.name + " won!"
+ $Panel/VBoxContainer/Winner.text = Network.winning_player.name + " won!"
func _on_BackToLobby_pressed():