Commit 997698ce authored by nanahira's avatar nanahira

fix

parent ac5426de
...@@ -2598,7 +2598,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server, datas)-> ...@@ -2598,7 +2598,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server, datas)->
if new_buf if new_buf
buffer = new_buf buffer = new_buf
record_last_game_msg = () -> record_last_game_msg = () ->
client.last_game_msg = new_buf or buffer client.last_game_msg = buffer
client.last_game_msg_title = msg_name client.last_game_msg_title = msg_name
#console.log client.pos, "MSG", msg_name #console.log client.pos, "MSG", msg_name
if msg_name == 'RETRY' and room.recovering if msg_name == 'RETRY' and room.recovering
......
...@@ -3417,7 +3417,7 @@ ...@@ -3417,7 +3417,7 @@
buffer = new_buf; buffer = new_buf;
} }
record_last_game_msg = function() { record_last_game_msg = function() {
client.last_game_msg = new_buf || buffer; client.last_game_msg = buffer;
return client.last_game_msg_title = msg_name; return client.last_game_msg_title = msg_name;
}; };
//console.log client.pos, "MSG", msg_name //console.log client.pos, "MSG", msg_name
......
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