Updated to 7.3.5

This commit is contained in:
Oskar Nordling 2017-10-13 19:01:26 +02:00
parent 63496f67a2
commit bae2a4a6e5
2 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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: