Skip to content

Commit

Permalink
LoadAddOn > C_AddOns.LoadAddOn
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Oct 11, 2024
1 parent ea02c56 commit 74fbdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Aptechka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4522,7 +4522,7 @@ function Aptechka:CreateBlizzOptionsPanel()
optionsButton:SetPoint("TOPLEFT", 10, -60)
optionsButton:GetFontString():SetText("Open Options Panel")
optionsButton:SetScript("OnClick", function()
LoadAddOn('AptechkaOptions')
C_AddOns.LoadAddOn('AptechkaOptions')
Aptechka:OpenGUI()
end)
end
Expand Down

0 comments on commit 74fbdec

Please sign in to comment.