Skip to content

Commit

Permalink
fix order in minimap settings setup - Save base off before user custo…
Browse files Browse the repository at this point in the history
…mizations
  • Loading branch information
Wutname1 committed Sep 5, 2024
1 parent 0ca1e07 commit 01aec24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Modules/Minimap/Minimap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,9 @@ function module:UpdateSettings()
local currentStyle = SUI.DB.Artwork.Style
if Registry[currentStyle] then module.Settings = SUI:MergeData(module.Settings, Registry[currentStyle].settings, true) end

-- Apply user custom settings
if module.DB.customSettings[currentStyle] then module.Settings = SUI:MergeData(module.Settings, module.DB.customSettings[currentStyle], true) end

module.BaseOpt = SUI:CopyTable({}, module.Settings)
-- Apply user custom settings
if module.DB.customSettings[currentStyle] then SUI:MergeData(module.Settings, module.DB.customSettings[currentStyle], true) end
end

function module:ModifyMinimapLayout()
Expand Down

0 comments on commit 01aec24

Please sign in to comment.