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 bdfe0fe commit a71ab54
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 @@ -11,6 +11,7 @@ ignore = {
}
globals = {
"CreateFrame",
"C_AddOns",
"C_AreaPoiInfo",
"C_CurrencyInfo",
"C_Map",
Expand Down
2 changes: 2 additions & 0 deletions LegionInvasionTimer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,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("LegionInvasionTimer_Options") -- Make sure it wasn't left disabled for whatever reason
LoadAddOn("LegionInvasionTimer_Options")
LibStub("AceConfigDialog-3.0"):Open(addonName)
Expand Down

0 comments on commit a71ab54

Please sign in to comment.