diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua b/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua index 80788b648f..abd0716860 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/View/ExploreMapView.lua @@ -129,7 +129,7 @@ function this:Init() local index3 = math.random(1,2) local index4 = math.random(area.y_pos.min,area.y_pos.max) this.playerViews[v.formationId] = SubUIManager.Open(SubUIConfig.SingleExplorePlayerView,this.mapRoot.transform,this) - + this.playerViews[v.formationId]:SetData((index3 == 1 and index1 or index2),index4,v) if v.formationId > 3100 then if not this.playerViews[0] then this.playerViews[v.formationId]:RefreshIsSelf(true) @@ -140,7 +140,7 @@ function this:Init() else this.playerViews[v.formationId]:RefreshIsSelf(false) end - this.playerViews[v.formationId]:SetData((index3 == 1 and index1 or index2),index4,v) + this.playerViews[v.formationId]:Run() this.playerViews[v.formationId]:RefreshHp(v.formationId) end