summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/games/uno.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index ea7ed18b..bb640125 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -761,7 +761,11 @@ class UnoGame
}
end
if @picker > 0 and not halted
- p = @players[1]
+ if @discard.value == 'Reverse'
+ p = @players.last
+ else
+ p = @players[1]
+ end
announce _("%{p} has to pick %{b}%{n}%{b} cards!") % {
:p => p, :n => @picker, :b => Bold
}