Hotfix - 1.6.0.85

EN: 1.6.0.85
CN: 1.6.0.88
JP: 1.6.0.89
KR: 1.6.0.92
This commit is contained in:
SL1900
2026-02-09 18:00:00 +09:00
parent 46f967a584
commit 952e8cb875
57 changed files with 8098 additions and 283 deletions
@@ -58,7 +58,7 @@ function LevelSelectCtrl:Awake()
local actData = self.BreakOut_30101Data:GetActivityDataByIndex(nIndex)
self.nActId = actData.ActivityId
self.BreakOutData = PlayerData.Activity:GetActivityDataById(self.nActId)
if self.BreakOutData == nil then
if self.BreakOutData == nil or self.BreakOutData ~= nil and self.BreakOutData:GetLevelData() == nil then
self.BreakOutData_00 = BreakOutData_00.new()
printError("活动 id:" .. self.nActId .. " 数据为空,开始初始化本地备用数据")
local tableData = {}
@@ -82,7 +82,7 @@ function LevelSelectCtrl:OnDisable()
}
end
function LevelSelectCtrl:OnEnable()
if self.BreakOutData == nil then
if self.BreakOutData == nil or self.BreakOutData ~= nil and self.BreakOutData:GetLevelData() == nil then
printError("活动 id:" .. self.nActId .. " 数据为空,无法记录当前的难度状态默认定位初始难度")
else
local param = self:GetPanelParam()
@@ -163,7 +163,7 @@ function LevelSelectCtrl:RefreshTabIcon()
self:RefreshTabRedIcon()
end
function LevelSelectCtrl:RefreshTabRedIcon()
if self.BreakOutData == nil then
if self.BreakOutData == nil or self.BreakOutData ~= nil and self.BreakOutData:GetLevelData() == nil then
self._mapNode.img_RightIcon:SetActive(false)
self._mapNode.img_LeftIcon:SetActive(false)
return
@@ -188,7 +188,7 @@ function LevelSelectCtrl:RefreshTabRedIcon()
end
function LevelSelectCtrl:RefreshDotsIcon()
local nMaxNum = 4
if self.BreakOutData == nil then
if self.BreakOutData == nil or self.BreakOutData ~= nil and self.BreakOutData:GetLevelData() == nil then
nMaxNum = self.BreakOutData_00:GetBreakoutLevelTypeNum()
else
nMaxNum = self.BreakOutData:GetBreakoutLevelTypeNum()
@@ -218,7 +218,7 @@ function LevelSelectCtrl:SetBanner()
end
end
function LevelSelectCtrl:AddGrids()
if self.BreakOutData == nil then
if self.BreakOutData == nil or self.BreakOutData ~= nil and self.BreakOutData:GetLevelData() == nil then
local nAllLevelType = self.BreakOutData_00:GetBreakoutLevelTypeNum()
for i = 1, nAllLevelType do
table.insert(self.tbGridsList, self.BreakOutData_00:GetLevelsByTab(i))