online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/TimerLabels.gd')
-rw-r--r--ui/TimerLabels.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/TimerLabels.gd b/ui/TimerLabels.gd
index cfd2c7b..764c827 100644
--- a/ui/TimerLabels.gd
+++ b/ui/TimerLabels.gd
@@ -27,6 +27,11 @@ func _ready():
colorrect.show_behind_parent = true
colorrect.color = Globals.grid.overlay_color
Events.connect("turn_over", self, "_on_turn_over")
+ Events.connect("game_over", self, "_on_game_over")
+
+
+func _on_game_over():
+ stop = true
func _on_turn_over():