diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-10 15:44:10 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-10 15:44:10 +0200 |
commit | d0cf3bdc334e903ed03c11ae9dcec003b84038d2 (patch) | |
tree | 34b2a38cb5de069a3b7ed44cf4c32cbf5ec4c0b2 /data | |
parent | b3aa806886587e5736f9cc338cc1c464e8d113ed (diff) |
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.
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |