summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/games/uno.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index 3d874bf9..4ae05f6e 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -750,6 +750,11 @@ class UnoGame
def end_game(halted = false)
runtime = @start_time ? Time.now - @start_time : 0
+ if @join_timer
+ @bot.timer.remove(@join_timer)
+ announce _("game start countdown stopped")
+ @join_timer = nil
+ end
if halted
if @start_time
announce _("%{uno} game halted after %{time}") % {