Skip to content

Commit

Permalink
moved out of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
N6REJ committed Jul 22, 2023
1 parent b789c4d commit e542c50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ f:SetScript(
if BearsSwitcher.db.profile.enableSound == true and volume >= .01 then
PlaySoundFile("Interface\\AddOns\\Bears_Audio_Switcher\\media\\volumeDown.ogg")
end
elseif key == BearsSwitcher.db.profile.music_toggle then
end

if key == BearsSwitcher.db.profile.music_toggle then
-- Check for current state of music toggle.
Sound_ToggleMusic()
end
Expand Down

0 comments on commit e542c50

Please sign in to comment.