diff --git a/lib/cinch/plugins/rebellion_g54.rb b/lib/cinch/plugins/rebellion_g54.rb index 501afdb..a43b688 100644 --- a/lib/cinch/plugins/rebellion_g54.rb +++ b/lib/cinch/plugins/rebellion_g54.rb @@ -64,7 +64,7 @@ def do_start_game(m, channel_name, players, settings, start_args) opts = {} opts[:synchronous_challenges] = settings[:synchronous_challenges] if settings.has_key?(:synchronous_challenges) roles = settings[:roles] || DEFAULT_ROLES - game = ::RebellionG54::Game.new(channel_name, players.map(&:user), roles, **opts) + game = ::RebellionG54::Game.new(channel_name, players.map(&:user), roles.dup, **opts) rescue => e m.reply("Failed to start game because #{e}", true) return