修复登录场景返回乱跳
This commit is contained in:
@@ -27,7 +27,7 @@ function scene.mouseDown(_,_,k)
|
||||
LOG.print("Old version detected & setting file deleted, please restart the game",600,COLOR.yellow)
|
||||
else
|
||||
if newVersionLaunch then
|
||||
SCN.push("main","fade")
|
||||
SCN.push("main")
|
||||
SCN.swapTo("history","fade")
|
||||
LOG.print(text.newVersion,"warn",COLOR.lBlue)
|
||||
else
|
||||
|
||||
@@ -8,7 +8,6 @@ local function tick_httpREQ_checkAccessToken(task)
|
||||
if response then
|
||||
if response.code==200 then
|
||||
LOG.print(text.accessSuccessed)
|
||||
SCN.pop()
|
||||
SCN.go("netgame")
|
||||
elseif response.code==403 or response.code==401 then
|
||||
httpRequest(
|
||||
|
||||
Reference in New Issue
Block a user