diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua index c16f377ac8..51878011cc 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/PlayerInfoPopup.lua @@ -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)