【不能用】继续改联网,能登录了

框架跟进
This commit is contained in:
MrZ_26
2022-09-28 23:00:43 +08:00
parent bc9f00d09f
commit 9ccc019bb9
8 changed files with 79 additions and 67 deletions

View File

@@ -4,7 +4,7 @@ function scene.sceneInit()
BG.set()
end
function scene.sceneBack()
NET.wsclose_play()
NET.wsclose()
end
function scene.draw()
@@ -21,11 +21,9 @@ scene.widgetList={
code=function()
if tryBack()then
if USER.uid then
NET.wsclose_play()
NET.wsclose_user()
NET.wsclose()
USER.uid=false
USER.authToken=false
saveFile(USER,'conf/user')
SCN.back()
end
end