diff options
Diffstat (limited to 'data/rbot/plugins/games/uno.rb')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index 0b7f8ba6..8db3c7fe 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -498,11 +498,11 @@ class UnoGame :uno => UNO, :p => @players.first } if @picker > 0 - p = @player[1] + p = @players[1] announce _("%{p} has to pick %{b}%{n}%{b} cards!") % { :p => p, :n => @picker, :b => Bold } - deal(@player[1], @picker) + deal(p, @picker) @picker = 0 end score = @players.inject(0) do |sum, p| |