【玩家信息】兼容以前

dev_chengFeng
gaoxin 2022-03-04 18:26:36 +08:00
parent 51b829874d
commit 1d3ef22dac
1 changed files with 3 additions and 1 deletions

View File

@ -320,8 +320,10 @@ local titleLiveStr
local titleLive
function this.RefreshPlayerInfo(data)
local curname = ""
if data.serverName then
if data.serverName and data.serverName ~= "" then
curname = data.serverName .. " " ..data.name
elseif this.serverName and this.serverName ~= "" then
curname = this.serverName .. " " ..data.name
else
curname = data.name
end