Skip to content

Commit

Permalink
Compat code for WoW 11
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Jul 10, 2024
1 parent 056f538 commit 9dfddbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ globals = {
"BFAInvasionTimerDB",
"BFAInvasionTimer",
"CreateFrame",
"C_AddOns",
"C_AreaPoiInfo",
"C_CurrencyInfo",
"C_Map",
Expand Down
2 changes: 2 additions & 0 deletions BFAInvasionTimer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ frame:SetScript("OnDragStop", function(f)
end)
do
local function openOpts()
local EnableAddOn = C_AddOns.EnableAddOn or EnableAddOn
local LoadAddOn = C_AddOns.LoadAddOn or LoadAddOn
EnableAddOn("BFAInvasionTimer_Options") -- Make sure it wasn't left disabled for whatever reason
LoadAddOn("BFAInvasionTimer_Options")
LibStub("AceConfigDialog-3.0"):Open(addonName)
Expand Down

0 comments on commit 9dfddbc

Please sign in to comment.