From aa0da8b4c3d4fda7ccb8a3c864d07a54fdf1c3aa Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 9 Apr 2008 16:57:39 +0200 Subject: uno plugin: don't reset the @picker until cards are assigned --- data/rbot/plugins/games/uno.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'data/rbot/plugins/games') 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 -- cgit v1.2.3