Commit 5778ab9d authored by nanahira's avatar nanahira

fix first list array

parent 38ec51c4
......@@ -2389,7 +2389,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server, datas)->
else
ygopro.stoc_send_chat_to_room(room, "${death_start_extra}", ygopro.constants.COLORS.BABYBLUE)
if client.is_first and (room.hostinfo.mode != 2 or client.pos == 0 or client.pos == 2)
room.first_list[room.duel_count - 1] = client.name_vpass
room.first_list.push(client.name_vpass)
if settings.modules.retry_handle.enabled
client.retry_count = 0
client.last_game_msg = null
......
......@@ -2969,7 +2969,7 @@
}
}
if (client.is_first && (room.hostinfo.mode !== 2 || client.pos === 0 || client.pos === 2)) {
room.first_list[room.duel_count - 1] = client.name_vpass;
room.first_list.push(client.name_vpass);
}
if (settings.modules.retry_handle.enabled) {
client.retry_count = 0;
......
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