【跨服天梯】 获取好友信息加判断

zhangqiang 2020-12-26 14:36:00 +08:00
parent 3b615515d8
commit e5f845b3a0
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ function PlayerInfoPopup:OnShow()
-- 请求数据
-- LogGreen(this._PlayerId.." "..this._Config.formationType)
netserverName = nil
if this.serverName and this.serverName ~= PlayerManager.serverInfo.name then
if this.serverName and this.serverName ~= "" and string. this.serverName ~= PlayerManager.serverInfo.name then
netserverName = 1
end
NetManager.RequestPlayerInfo(this._PlayerId, this._Config.formationType,netserverName, function(msg)