diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-09 16:57:39 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-09 16:57:39 +0200 |
commit | aa0da8b4c3d4fda7ccb8a3c864d07a54fdf1c3aa (patch) | |
tree | bb25f97b5b912a286105c59a750268429f4b7223 | |
parent | 27a15c00d2e34b0b6c3cdc4c4bb3ce8de8fe8539 (diff) |
uno plugin: don't reset the @picker until cards are assigned
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 2 |
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 |