diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua b/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua index 0747fd2644..cbccb5960c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua @@ -105,6 +105,9 @@ function this:Init() iconNum = 20 local randomNum = 8--math.random(2,3) PlayerManager.GetFightMapPlayerNPCData(randomNum,function(NPCList) + if this.isClose then + return + end --LogGreen("NPCList:"..LengthOfTable(NPCList)) local index = 1 local area = monsterArea[m_curMapId]