PlaySound Temporal Fix

PlaySound Temporal Fix

4.1k Downloads

Dirty hack around updated PlaySound function.

Using this fix all addons will work. Sound will be played for updated ones and for some unupdated ones too (thanks to this pastebin and user tga123).

Wait for all your addon maintainers to update their projects then safely delete this one.

Reference lua error to be google-able:

error: Usage: PlaySound(soundKitID, optional["SFX","Music","Ambience", "Dialog" or "Master"], [forceNoDuplicates, runFinishCallback])

Addon maintainers should change their code accordingly to https://us.battle.net/forums/en/wow/topic/20758856637