修正merge
This commit is contained in:
@@ -282,16 +282,6 @@ SETTING={
|
||||
VKAlpha=.3,
|
||||
}
|
||||
|
||||
ACCOUNT={
|
||||
email=nil,
|
||||
auth_token=nil,
|
||||
access_token=nil,
|
||||
|
||||
username=nil,
|
||||
motto=nil,
|
||||
avatar=nil,
|
||||
}
|
||||
|
||||
STAT={
|
||||
version=VERSION_NAME,
|
||||
run=0,game=0,time=0,
|
||||
@@ -310,11 +300,13 @@ for i=1,25 do
|
||||
end
|
||||
|
||||
ACCOUNT={
|
||||
email=nil,
|
||||
auth_token=nil,
|
||||
access_token=nil,
|
||||
|
||||
username=nil,
|
||||
motto=nil,
|
||||
avatar=nil,
|
||||
auth_token=nil,
|
||||
access_token=nil
|
||||
}
|
||||
|
||||
keyMap={
|
||||
|
||||
@@ -157,7 +157,6 @@ function Tick.httpREQ_newLogin(data)
|
||||
local success,content=json.decode(response.body)
|
||||
if success then
|
||||
LOG.print(text.loginSuccessed..": "..content.message)
|
||||
local _success,_content=json.decode(data)
|
||||
ACCOUNT.email=_content.email
|
||||
ACCOUNT.auth_token=content.auth_token
|
||||
FILE.save(ACCOUNT,"account","")
|
||||
|
||||
Reference in New Issue
Block a user