屏蔽竞技场解锁弹窗

This commit is contained in:
xiekaidong 2023-11-15 16:41:43 +08:00
parent e465c5c713
commit 0f839d3281
2 changed files with 4 additions and 3 deletions

View File

@ -69,7 +69,8 @@ local func_open = {
},
["arena_open"]={
["stage"]=5,
["icon"]="module_unlock_arena"
["icon"]="module_unlock_arena",
["pop_ups"]=1
},
["act_arena_gift"]={
["stage"]=5,

View File

@ -81,8 +81,8 @@ function PlayerData:initModuleUnlockInfo()
end
self.moduleUnlockChapterMap = {}
local cfg = ConfigManager:getConfig("func_open")
for _, info in pairs(cfg) do
if info.pop_ups == nil and info.stage then
for name, info in pairs(cfg) do
if info.pop_ups == nil and info.stage and name ~= "arena_open" then
self.moduleUnlockChapterMap[info.stage] = true
end
end