Commit 5e9c11ab authored by nanahira's avatar nanahira

fix

parent d0f1eb19
...@@ -1821,7 +1821,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server)-> ...@@ -1821,7 +1821,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server)->
client.last_game_msg_title = ygopro.constants.MSG[msg] client.last_game_msg_title = ygopro.constants.MSG[msg]
# log.info(client.name, client.last_game_msg_title) # log.info(client.name, client.last_game_msg_title)
if (msg >= 10 and msg < 30) or msg == 132 or (msg >= 140 and msg < 144) #SELECT和ANNOUNCE开头的消息 if (msg >= 10 and msg < 30) or msg == 132 or (msg >= 140 and msg <= 144) #SELECT和ANNOUNCE开头的消息
room.waiting_for_player = client room.waiting_for_player = client
room.last_active_time = moment() room.last_active_time = moment()
#log.info("#{ygopro.constants.MSG[msg]}等待#{room.waiting_for_player.name}") #log.info("#{ygopro.constants.MSG[msg]}等待#{room.waiting_for_player.name}")
......
...@@ -2206,7 +2206,7 @@ ...@@ -2206,7 +2206,7 @@
client.last_game_msg = buffer; client.last_game_msg = buffer;
client.last_game_msg_title = ygopro.constants.MSG[msg]; client.last_game_msg_title = ygopro.constants.MSG[msg];
} }
if ((msg >= 10 && msg < 30) || msg === 132 || (msg >= 140 && msg < 144)) { if ((msg >= 10 && msg < 30) || msg === 132 || (msg >= 140 && msg <= 144)) {
room.waiting_for_player = client; room.waiting_for_player = client;
room.last_active_time = moment(); room.last_active_time = moment();
} }
......
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