取消NET.connected变量

This commit is contained in:
MrZ626
2021-05-30 16:20:49 +08:00
parent 8ee2e89cc5
commit 59ef90e120
2 changed files with 1 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ function scene.keyDown(key)
end
elseif key=="a"then
if testButton(3)then
if NET.connected then
if WS.status('app')=='running'then
NET.tryLogin(false)
else
NET.wsconn_app()