summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6a056278..e6a7ea18 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -498,6 +498,7 @@ class UnoGame
lp.cards.each do |c|
if c.color == @last_color and not c.special?
legal = false
+ break
end
end
if legal