四灵助战报错修改
parent
2bfe122214
commit
13e0865cc2
|
@ -152,6 +152,10 @@ end
|
|||
|
||||
function this:SetMyHeightPower()
|
||||
heightPower = 0
|
||||
if not myHeros or #myHeros < 0 then
|
||||
heightPower = 0
|
||||
return
|
||||
end
|
||||
for k,v in ipairs(myHeros) do
|
||||
if v.warPower > heightPower then
|
||||
heightPower = v.warPower
|
||||
|
|
Loading…
Reference in New Issue