Use GetServerExpansionLevel instead

For accounts that haven't purchased the most recent expansion (BFA accounts on SL, or more likely SL accounts that haven't bought DF, when DF comes out), will have their GetExpansionLevel be one lower. Changed to use GetServerExpansionLevel instead. 

https://wowpedia.fandom.com/wiki/API_GetExpansionLevel
This commit is contained in:
Flamanis
2022-09-26 18:57:50 -05:00
committed by GitHub
parent 57133d389f
commit 94aa8957db
+1 -1
View File
@@ -5,7 +5,7 @@ if (not LIB_OPEN_RAID_CAN_LOAD) then
return
end
local expansionId = GetExpansionLevel()
local expansionId = GetServerExpansionLevel()
--localization
local gameLanguage = GetLocale()