From 99e21df7eac8109b638b66d6a3fe23a0fa52bb08 Mon Sep 17 00:00:00 2001 From: RealityWinner <31143064+RealityWinner@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:48:46 -0500 Subject: [PATCH] Set newly added raids to default Fix for when new raids are added in SoD they are default not logged --- Init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Init.lua b/Init.lua index 775e356..4b30fb6 100644 --- a/Init.lua +++ b/Init.lua @@ -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.