Skip to content

Commit

Permalink
Fix new raids not being logged by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudbells committed Feb 26, 2024
2 parents ff63ea7 + bf77802 commit 2b4f4a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ local function LoadVariables()
for instanceID in pairs(ns.RAIDS) do
ALCOptions.instances[instanceID] = true
end
else
-- Default new raids to true and dungeons to false.
for instanceID in pairs(ns.RAIDS) do
if ALCOptions.instances[instanceID] == nil then
ALCOptions.instances[instanceID] = true
end
end
end
end

Expand Down

0 comments on commit 2b4f4a2

Please sign in to comment.