bug修复
This commit is contained in:
parent
30908425ca
commit
9429f79a1e
@ -349,6 +349,11 @@ function BattleUI:showBuffTips(buffList, autoClose)
|
||||
index = index + 1
|
||||
end
|
||||
end
|
||||
if index <= 1 then -- 没有找到buff
|
||||
self.battleBuffTipsRoot:setLocalScale(0, 0, 0)
|
||||
return
|
||||
end
|
||||
|
||||
for i = index, #self.battleBuffTipsBuffList do
|
||||
self.battleBuffTipsBuffList[i]:setLocalScale(0, 0, 0)
|
||||
end
|
||||
|
||||
@ -12,6 +12,7 @@ end
|
||||
function DailyChallengeData:init(data)
|
||||
if EDITOR_MODE then
|
||||
Logger.logHighlight("每日挑战 更新数据...")
|
||||
Logger.printTable(data)
|
||||
end
|
||||
data = data or GConst.EMPTY_TABLE
|
||||
self.maxWave = data.max_wave or 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user