diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index e8330457..8fd0d087 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -906,6 +906,11 @@ class UnoPlugin < Plugin @games[m.channel].end_game(true) end + def cleanup + @games.each { |k, g| g.end_game(true) } + super + end + def chan_reg(channel) @registry.sub_registry(channel.downcase) end |