Commit 92c27a51 authored by mercury233's avatar mercury233

add version tip

parent 309b626e
......@@ -241,6 +241,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
client.end()
else if info.version != settings.version
ygopro.stoc_send_chat(client,"版本号不符,电脑用户请更新游戏到最新版本,手机用户可以尝试使用2333端口")
ygopro.stoc_send client, 'ERROR_MSG',{
msg: 4
code: settings.version
......
......@@ -265,6 +265,7 @@
});
client.end();
} else if (info.version !== settings.version) {
ygopro.stoc_send_chat(client, "版本号不符,电脑用户请更新游戏到最新版本,手机用户可以尝试使用2333端口");
ygopro.stoc_send(client, 'ERROR_MSG', {
msg: 4,
code: settings.version
......
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