diff --git a/Libs/LibOpenRaid/LibOpenRaid.lua b/Libs/LibOpenRaid/LibOpenRaid.lua index 9b80306f0..6f68d6ca9 100644 --- a/Libs/LibOpenRaid/LibOpenRaid.lua +++ b/Libs/LibOpenRaid/LibOpenRaid.lua @@ -58,7 +58,7 @@ if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not isExpansion_Dragonflight()) t end local major = "LibOpenRaid-1.0" -local CONST_LIB_VERSION = 54 +local CONST_LIB_VERSION = 55 LIB_OPEN_RAID_CAN_LOAD = false --declae the library within the LibStub diff --git a/Libs/LibOpenRaid/ThingsToMantain.lua b/Libs/LibOpenRaid/ThingsToMantain.lua index 166d54053..517a35982 100644 --- a/Libs/LibOpenRaid/ThingsToMantain.lua +++ b/Libs/LibOpenRaid/ThingsToMantain.lua @@ -1,6 +1,11 @@ --data which main need maintenance over time + +if (not LIB_OPEN_RAID_CAN_LOAD) then + return +end + --alert the user that something went wrong C_Timer.After(10, function() if (not LIB_OPEN_RAID_DATABASE_LOADED) then @@ -8,10 +13,6 @@ C_Timer.After(10, function() end end) -if (not LIB_OPEN_RAID_CAN_LOAD) then - return -end - local versionString, revision, launchDate, gameVersion = GetBuildInfo() local isExpansion_Dragonflight = function() @@ -829,4 +830,4 @@ LIB_OPEN_RAID_SPELL_DEFAULT_IDS = { } --need to add mass dispell (32375) -LIB_OPEN_RAID_DATABASE_LOADED = true \ No newline at end of file +LIB_OPEN_RAID_DATABASE_LOADED = true