Skip to content

Commit

Permalink
Use GetServerExpansionLevel instead
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Flamanis authored Sep 26, 2022
1 parent 57133d3 commit 94aa895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libs/LibOpenRaid/ThingsToMantain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (not LIB_OPEN_RAID_CAN_LOAD) then
return
end

local expansionId = GetExpansionLevel()
local expansionId = GetServerExpansionLevel()

--localization
local gameLanguage = GetLocale()
Expand Down

0 comments on commit 94aa895

Please sign in to comment.