diff --git a/lua/app/config/func_open.lua b/lua/app/config/func_open.lua index 77e9fae8..068e8551 100644 --- a/lua/app/config/func_open.lua +++ b/lua/app/config/func_open.lua @@ -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, diff --git a/lua/app/userdata/player/player_data.lua b/lua/app/userdata/player/player_data.lua index a050f21b..75e9f335 100644 --- a/lua/app/userdata/player/player_data.lua +++ b/lua/app/userdata/player/player_data.lua @@ -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