探索地图报错修改
parent
31147f3c0a
commit
fe4f9fdcf7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue