修复conf/account没改完导致账户信息存不上文件

This commit is contained in:
MrZ626
2020-12-16 00:35:10 +08:00
parent 13b176d515
commit 32b0937ad9
3 changed files with 4 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ function Tick.httpREQ_getAccessToken(task)
if res then
LOG.print(text.accessSuccessed)
USER.access_token=res.access_token
FILE.save(USER,"conf/account")
FILE.save(USER,"conf/user")
SCN.swapTo("netgame")
else
LOG.print(text.netErrorCode..response.code..": "..res.message,"warn")