diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index c689c253..75154362 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -605,6 +605,12 @@ class UnoGame end def show_turn(opts={}) + if @players.empty? + announce _("nobody is playing %{uno} yet!") % { + :uno => UNO + } + return false + end cards = true cards = opts[:cards] if opts.key?(:cards) player = @players.first |