diff --git a/core.lua b/core.lua index 281f754..4e6df82 100644 --- a/core.lua +++ b/core.lua @@ -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