diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonTypePanelV2.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonTypePanelV2.lua index 79107e75cc..e856de7b1d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonTypePanelV2.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/CarbonTypePanelV2.lua @@ -238,6 +238,10 @@ function CarbonTypePanelV2:OnShow(...) data = type[PlayerManager.carbonType].default else data = type[PlayerManager.carbonType][k] + local config = ConfigManager.GetConfigData(ConfigName.GlobalSystemConfig,data.id) + if not config or config.IsOpen == 0 then + data = type[PlayerManager.carbonType].default + end end local redpoint = Util.GetGameObject(v, "redPoint") if data.redPointType == -1 or not data.redPointType then