From fe4f9fdcf74ddedd8e6489d363f808a2c837a2d6 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Fri, 7 Jan 2022 13:43:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A2=E7=B4=A2=E5=9C=B0=E5=9B=BE=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Fight/View/ExploreMapView.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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