summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/uno.rb
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-02-19 16:26:34 +0200
committerRaine Virta <rane@kapsi.fi>2009-02-19 16:26:34 +0200
commit783ffa4235330029d661752b1023db635b26f2b3 (patch)
treee60c7a89e7053120b33810230401f5490a3cb697 /data/rbot/plugins/games/uno.rb
parentff452ad1bf111025f0661274ac7fb8b2f769a293 (diff)
remove whitespace
Diffstat (limited to 'data/rbot/plugins/games/uno.rb')
-rw-r--r--data/rbot/plugins/games/uno.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index 5b2593ee..84420631 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -108,7 +108,7 @@ class UnoGame
@color = 'Wild'
raise if value and not value == '+4'
if value
- @value = value.dup
+ @value = value.dup
@shortform = 'w'+value
else
@value = nil
@@ -411,7 +411,7 @@ class UnoGame
# only be possible if the first W+4 was illegal, so it wouldn't
# apply for a W+4 played on a +2 anyway.
#
- if @picker == 0 and Wild === cards.first and cards.first.value
+ if @picker == 0 and Wild === cards.first and cards.first.value
# save the previous discard in case of challenge
@last_discard = @discard.dup
# save the color too, in case it was a Wild