diff --git a/Core.lua b/Core.lua index d9b45d7..1321d47 100644 --- a/Core.lua +++ b/Core.lua @@ -128,7 +128,7 @@ local options = { name = "Test Sound", desc = "Click this to test the selected sound", type = "execute", - func = function() PlaySoundKitID(LevelUpAnnouncer.db.profile.soundID) end + func = function() PlaySound(LevelUpAnnouncer.db.profile.soundID) end } } } @@ -194,7 +194,7 @@ function LevelUpAnnouncer:PLAYER_LEVEL_UP() self.tmpPercIndex = 0 self.curLevel = self.curLevel + 1 if self.db.profile.playSound then - PlaySoundKitID(self.db.profile.soundID) + PlaySound(self.db.profile.soundID) end if self.db.profile.chatAnnounce then sendToChat(replaceFormats(self.db.profile.dingFormat, 0, self.curLevel)) diff --git a/LevelUpAnnouncer.toc b/LevelUpAnnouncer.toc index dac9b15..fdf52d3 100644 --- a/LevelUpAnnouncer.toc +++ b/LevelUpAnnouncer.toc @@ -1,6 +1,6 @@ -## Interface: 70200 +## Interface: 70300 ## Title: Level Up |cff2D8D0BAnnouncer|r -## Version: 2.0.2 +## Version: 2.0.3 ## Author: oskar3123 ## Notes: A simple addon to play a sound and/or yell in chat when you level up ## Dependencies: