From d0cf3bdc334e903ed03c11ae9dcec003b84038d2 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 10 Jul 2010 15:44:10 +0200 Subject: UNO! plugin: clean join_timer when game starts This prevents spurious messages about the game join timer being cancelled when a game is ended by all players but one dropping out. --- data/rbot/plugins/games/uno.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index 6ea00633..e619027c 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -244,6 +244,7 @@ class UnoGame end def start_game + @join_timer = nil debug "Starting game" @players.shuffle! show_order -- cgit v1.2.3