Commit ec57be97 authored by nanahira's avatar nanahira

typo

parent 7b181569
...@@ -1837,7 +1837,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server)-> ...@@ -1837,7 +1837,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server)->
if ygopro.constants.MSG[msg] == 'HINT' if ygopro.constants.MSG[msg] == 'HINT'
hint_type = buffer.readUInt8(1) hint_type = buffer.readUInt8(1)
if hint_type = 3 if hint_type == 3
client.last_hint_msg = buffer client.last_hint_msg = buffer
if ygopro.constants.MSG[msg] == 'NEW_TURN' if ygopro.constants.MSG[msg] == 'NEW_TURN'
......
...@@ -2214,7 +2214,7 @@ ...@@ -2214,7 +2214,7 @@
} }
if (ygopro.constants.MSG[msg] === 'HINT') { if (ygopro.constants.MSG[msg] === 'HINT') {
hint_type = buffer.readUInt8(1); hint_type = buffer.readUInt8(1);
if (hint_type = 3) { if (hint_type === 3) {
client.last_hint_msg = buffer; client.last_hint_msg = buffer;
} }
} }
......
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