summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-09 16:57:39 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-09 16:57:39 +0200
commitaa0da8b4c3d4fda7ccb8a3c864d07a54fdf1c3aa (patch)
treebb25f97b5b912a286105c59a750268429f4b7223 /data/rbot
parent27a15c00d2e34b0b6c3cdc4c4bb3ce8de8fe8539 (diff)
uno plugin: don't reset the @picker until cards are assigned
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/games/uno.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index 13f39c9b..e4ee2ae2 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -253,8 +253,6 @@ class UnoGame
end
if card.picker > 0
@picker += card.picker
- else
- @picker = 0
end
if card.special?
@special = true