Skip to content

Commit

Permalink
Set newly added raids to default
Browse files Browse the repository at this point in the history
Fix for when new raids are added in SoD they are default not logged
  • Loading branch information
RealityWinner authored Feb 22, 2024
1 parent ff63ea7 commit 99e21df
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 @@ -70,6 +70,13 @@ local function LoadVariables()
ALCOptions.instances[instanceID] = true
end
end

-- 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

-- Toggles logging if player is not logging and is in the right instance.
Expand Down

0 comments on commit 99e21df

Please sign in to comment.