Commit 5559bb9a authored by nanahira's avatar nanahira

Revert "update for moving turn"

This reverts commit be5e9c42.
parent be5e9c42
...@@ -1513,8 +1513,7 @@ ...@@ -1513,8 +1513,7 @@
} }
} }
if (ygopro.constants.MSG[msg] === 'NEW_TURN') { if (ygopro.constants.MSG[msg] === 'NEW_TURN') {
playertype = buffer.readUInt8(1); if (client.pos === 0) {
if ((client.pos === 0) && (playertype & 0x2 === 0)) {
room.turn = room.turn + 1; room.turn = room.turn + 1;
} }
if (client.surrend_confirm) { if (client.surrend_confirm) {
......
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