Skip to content

Commit

Permalink
Slight bug fix for an bug that occurs on Retail when opening the opti…
Browse files Browse the repository at this point in the history
…ons screen.
  • Loading branch information
Xruptor committed Oct 31, 2022
1 parent 7185edb commit 284a4d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion xanSoundAlerts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ function addon:EnableAddon()

SLASH_XANSOUNDALERTS1 = "/xsa";
SlashCmdList["XANSOUNDALERTS"] = function()
InterfaceOptionsFrame:Show() --has to be here to load the about frame onLoad
if not IsRetail then
InterfaceOptionsFrame:Show() --has to be here to load the about frame onLoad
end
InterfaceOptionsFrame_OpenToCategory(addon.aboutPanel) --force the panel to show
end

Expand Down
2 changes: 1 addition & 1 deletion xanSoundAlerts.toc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Title: xanSoundAlerts
## Notes: Plays a sound when your health or mana is low.
## Author: Xruptor
## Version: 2.6
## Version: 2.7
## X-Curse-Project-ID: 299032
## X-WoWI-ID: 24732
## OptionalDeps: tekDebug
Expand Down

0 comments on commit 284a4d4

Please sign in to comment.