From 862fb70ead4b843470ce2a47542a136fead43588 Mon Sep 17 00:00:00 2001 From: Tim Stirrat Date: Tue, 8 Oct 2024 17:05:24 +1000 Subject: [PATCH] Fix for SoD 1.15.4 --- options.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/options.lua b/options.lua index 3651433..d53e0f2 100644 --- a/options.lua +++ b/options.lua @@ -120,7 +120,12 @@ end -- main frame local frame = CreateFrame("Frame","TacoTipOptions") frame.name = addOnName -InterfaceOptions_AddCategory(frame) +if InterfaceOptions_AddCategory then + InterfaceOptions_AddCategory(frame) +else + local category, layout = _G.Settings.RegisterCanvasLayoutCategory(frame, frame.name) + _G.Settings.RegisterAddOnCategory(category) +end frame:Hide() frame:SetScript("OnShow", function(frame)