【登录】尝试修复在登录界面无法使用sdk切换账号的问题
parent
f708fb6671
commit
eda07761fc
|
|
@ -67,7 +67,7 @@ function this.Initialize()
|
|||
Log("onSwitchAccountCallback::"..resp)
|
||||
local result = string.split(resp, "#")
|
||||
--Util.LogError(debug.traceback("<color=#00ccee>onSwitchAccountCallback:" .. result[1] .. "</color>"))
|
||||
if LoginManager.IsLogin and tonumber(result[1]) == SDK_RESULT.SUCCESS then
|
||||
if tonumber(result[1]) == SDK_RESULT.SUCCESS then
|
||||
ThinkingAnalyticsManager.Track("change_account")
|
||||
Game.Restart()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue