昵称不缓存多语言文本
This commit is contained in:
parent
bdd7aaaf26
commit
d38ed4a99f
@ -251,7 +251,7 @@ end
|
||||
-- 获取玩家昵称
|
||||
function PlayerData:getNickname()
|
||||
if self.data.playInfo.nickName == nil or #self.data.playInfo.nickName == 0 then
|
||||
self.data.playInfo.nickName = I18N:getGlobalText(I18N.GlobalConst.NEW_PLAYER)
|
||||
return I18N:getGlobalText(I18N.GlobalConst.NEW_PLAYER)
|
||||
end
|
||||
return self.data.playInfo.nickName
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user