bug
parent
eff314bf31
commit
02f92f749f
|
@ -279,7 +279,7 @@ function this.InitOption()
|
|||
|
||||
this.Option:SetActive(true)
|
||||
Util.GetGameObject(this.BtnTimeScale, "lock"):SetActive(not BattleManager.IsUnlockBattleSpeed())
|
||||
local IsUnLockBattlePass = BattleManager.IsUnlockBattlePass() --or AppConst.isOpenGM
|
||||
local IsUnLockBattlePass = BattleManager.IsUnlockBattlePass() or (fightType == BATTLE_TYPE.BACK)--or AppConst.isOpenGM
|
||||
Util.GetGameObject(this.BtnExit, "lock"):SetActive(not IsUnLockBattlePass)
|
||||
if AppConst.isOpenGM then
|
||||
Util.GetGameObject(this.BtnGM, "lock"):SetActive(false)
|
||||
|
|
|
@ -861,10 +861,10 @@ function this.SetOneKeyGo()
|
|||
-- else
|
||||
-- return aWarPower>bWarPower
|
||||
-- end
|
||||
if a.warPower == b.bWarPower then
|
||||
if a.warPower == b.warPower then
|
||||
return a.id>b.id
|
||||
else
|
||||
return a.aWarPower > b.bWarPower
|
||||
return a.warPower > b.warPower
|
||||
end
|
||||
end)
|
||||
--遍历英雄 去除已上阵英雄
|
||||
|
|
Loading…
Reference in New Issue