diff --git a/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua b/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua index 23da3f8570..f3cc7225ba 100644 --- a/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua +++ b/Assets/ManagedResources/~Lua/View/SingleExplorePlayerView.lua @@ -295,7 +295,9 @@ function SingleExplorePlayerView:RefreshPoints() end Timer.New(function() index = (index + 1)%pointnum == 0 and pointnum or (index + 1)%pointnum - self.exploreList[index].gameObject:SetActive(true) + if self.exploreList[index] then + self.exploreList[index].gameObject:SetActive(true) + end end,0.25,2):Start() end s() @@ -946,5 +948,6 @@ function SingleExplorePlayerView:OnClose() --当前触发的事件点 self.eventPointPos = nil self.state = 0 + self.exploreList = {} end return SingleExplorePlayerView \ No newline at end of file