diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/games/roulette.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/roulette.rb b/data/rbot/plugins/games/roulette.rb index 0d2dc4c2..3b954077 100644 --- a/data/rbot/plugins/games/roulette.rb +++ b/data/rbot/plugins/games/roulette.rb @@ -71,7 +71,7 @@ class RoulettePlugin < Plugin totals.wins += 1 @registry["player " + plyr] = pdata } - @players = Array.new + @players.clear @bot.kick(m.replyto, m.sourcenick, "*BANG*") if @bot.config['roulette.kick'] else m.reply "#{m.sourcenick}: chamber #{6 - @chambers.length} of 6 => +click+" @@ -117,7 +117,7 @@ class RoulettePlugin < Plugin totals.games += 1 @registry["totals"] = totals - @players = Array.new + @players.clear end def spin(m, params={}) |