From 7f0f62bfe543f839d0e0242faae5579af78a7f03 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Tue, 27 Sep 2022 11:17:30 -0500 Subject: [PATCH 1/2] Moved Failed Load check in LibOpenRaid --- Libs/LibOpenRaid/ThingsToMantain.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 From 44ee86b66a27801d5c5b432d728f72289678c28c Mon Sep 17 00:00:00 2001 From: Flamanis Date: Tue, 27 Sep 2022 11:17:55 -0500 Subject: [PATCH 2/2] LibOpenRaid version bump --- Libs/LibOpenRaid/LibOpenRaid.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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