Merge pull request #358 from Flamanis/master
Move the LibOpenRaid failed loading message below the CanLoad check
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
LIB_OPEN_RAID_DATABASE_LOADED = true
|
||||
|
||||
Reference in New Issue
Block a user