diff --git a/Assets/ManagedResources/~Lua/Modules/Explore/ExploreManager.lua b/Assets/ManagedResources/~Lua/Modules/Explore/ExploreManager.lua index f786c93c87..69d363e033 100644 --- a/Assets/ManagedResources/~Lua/Modules/Explore/ExploreManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Explore/ExploreManager.lua @@ -77,7 +77,6 @@ end --刷新编队 function this.UpdateFormationData(team) - LogGreen("team.teamId:"..team.teamId.." team.hp:"..team.hp) if this.FormationData[team.teamId] then this.FormationData[team.teamId].hp = team.hp this.FormationData[team.teamId].exploreTime = team.exploreTime @@ -102,7 +101,6 @@ function this.UpdateFormationData(team) this.UpdateMapFormationData(team.mapId,team.teamId,1) end end - LogGreen("this.FormationData[team.teamId].hp:"..this.FormationData[team.teamId].hp) Game.GlobalEvent:DispatchEvent(GameEvent.Explore.UpdateSingleFormation,team.teamId) else LogGreen(string.format("%s编队不属于探索玩法",team.teamId)) diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua b/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua index 021eed58ce..5db99aa6dd 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua @@ -90,10 +90,10 @@ function this:RemoveListener() end function this.Refresh(teamId) - LogGreen("teamId:"..teamId) this.playerViews[teamId]:RefreshHp() if ExploreManager.FormationData[teamId].state < 1 then - SubUIManager.Close(this.playerViews[this.playerViews[teamId].formationId]) + SubUIManager.Close(this.playerViews[teamId]) + this.playerViews[teamId] = nil if this.playerViews[0].formationId == teamId then this.playerViews[0] = nil this.playerViews[this.playerViews[0].formationId] = nil diff --git a/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua b/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua index ab53c6cc11..77fe12e9c6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua @@ -1090,7 +1090,6 @@ function this.ExplorerMapIndicationResponse(buffer) local data = buffer:DataByte() local msg = PlayerInfoProto_pb.ExplorerMapIndicationResponse() msg:ParseFromString(data) - LogGreen("收到了刷新探索编队的indication") ExploreManager.UpdateFormationData(msg.exploreInfo) Game.GlobalEvent:DispatchEvent(GameEvent.Explore.UpdateFormation) end diff --git a/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua b/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua index 1b8f2a183e..dab9fd2775 100644 --- a/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua +++ b/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua @@ -301,7 +301,6 @@ end -- 随机一个位置给大爷走走 function SingleExplorePlayerView:SetRoleHitTarget() - LogGreen("self.activeState:"..self.activeState) if self.activeState == 0 then return end