|
|
@@ -61,7 +61,7 @@ function LoginMgr:OnLoginAck(data)
|
|
|
if data.unisdk_login_json ~= nil then
|
|
|
local sdkdata
|
|
|
local ok, errors = RO_XPCALL(function() sdkdata = JSON:decode(data.unisdk_login_json) end, debug.traceback)
|
|
|
- if ok and sdkdata.guid ~= nil then
|
|
|
+ if ok and sdkdata~=nil and sdkdata.guid ~= nil then
|
|
|
ManagerContainer.LuaGameMgr.openId = sdkdata.guid
|
|
|
end
|
|
|
end
|