Commit d69ad4f6 authored by nanahira's avatar nanahira

fix

parent 077831fe
......@@ -1250,7 +1250,7 @@ ygopro.stoc_follow 'GAME_MSG', false, (buffer, info, client, server)->
if client.pos == 0
room.turn = 0
room.duel_count = room.duel_count + 1
if room.death and room.duel_count
if room.death and room.duel_count > 0
if room.death == -1
ygopro.stoc_send_chat_to_room(room, "${death_start_final}", ygopro.constants.COLORS.BABYBLUE)
else
......
......@@ -1496,7 +1496,7 @@
room.turn = 0;
room.duel_count = room.duel_count + 1;
}
if (room.death && room.duel_count) {
if (room.death && room.duel_count > 0) {
if (room.death === -1) {
ygopro.stoc_send_chat_to_room(room, "${death_start_final}", ygopro.constants.COLORS.BABYBLUE);
} else {
......
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