Commit d6a52232 authored by nanahira's avatar nanahira

fix

parent 0249e5b1
......@@ -3457,7 +3457,7 @@ if settings.modules.mycard.enabled
)
if settings.modules.arena_mode.punish_quit_before_match
async.each(ROOM_all.filter((room) ->
_async.each(ROOM_all.filter((room) ->
return room and room.arena and room.duel_stage == ygopro.constants.DUEL_STAGE.BEGIN and room.get_playing_player().length < 2
), (room, done) ->
player = room.get_playing_player()[0]
......
......@@ -4431,7 +4431,7 @@
done();
});
if (settings.modules.arena_mode.punish_quit_before_match) {
async.each(ROOM_all.filter(function(room) {
_async.each(ROOM_all.filter(function(room) {
return room && room.arena && room.duel_stage === ygopro.constants.DUEL_STAGE.BEGIN && room.get_playing_player().length < 2;
}), function(room, done) {
var player, waited_time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment