summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-10 15:44:10 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-10 15:44:10 +0200
commitd0cf3bdc334e903ed03c11ae9dcec003b84038d2 (patch)
tree34b2a38cb5de069a3b7ed44cf4c32cbf5ec4c0b2 /data
parentb3aa806886587e5736f9cc338cc1c464e8d113ed (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.rb1
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