fix:查询玩家信息
This commit is contained in:
parent
55ed8da8fa
commit
95a258a1a2
|
|
@ -1254,6 +1254,7 @@ func GetPlayerDataBySnId(plt string, snid int32, correctData, createIfNotExist b
|
||||||
ret.Pd.LastLogoutTime = ret.Pd.LastLogoutTime.Local()
|
ret.Pd.LastLogoutTime = ret.Pd.LastLogoutTime.Local()
|
||||||
ret.Pd.IScoreTs = ret.Pd.IScoreTs.Local()
|
ret.Pd.IScoreTs = ret.Pd.IScoreTs.Local()
|
||||||
ret.Pd.Permit = ret.Pd.Permit.Local()
|
ret.Pd.Permit = ret.Pd.Permit.Local()
|
||||||
|
ret.Pd.InitRolesAndPets()
|
||||||
|
|
||||||
return ret.Pd, ret.IsNew
|
return ret.Pd, ret.IsNew
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue