Skip to content

Commit

Permalink
Export fix for disabled modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Sep 5, 2024
1 parent 0d78c4f commit e007ffe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Core/Handlers/Profiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,13 @@ local function GetProfileData(ScopeTable)
--Copy current profile data
local data = SUI:CopyTable({}, datatable.profiles[profile])
--Compare against the defaults and remove all duplicates
local namespaceData = SUI.SpartanUIDB:GetNamespace(name).defaults.profile
data = SUI:RemoveTableDuplicates(data, namespaceData)
local namespace = SUI.SpartanUIDB:GetNamespace(name, true)
if namespace then
local namespaceData = namespace.defaults.profile
data = SUI:RemoveTableDuplicates(data, namespaceData)

profileData[name] = data
profileData[name] = data
end
end
end

Expand Down

0 comments on commit e007ffe

Please sign in to comment.