Quantcast

Update for 70300 and fix PlaySound

Jim Whitehead [09-22-17 - 08:17]
Update for 70300 and fix PlaySound

Thanks to yulemath for helping identify what needed to be changed.
Filename
WowLua.lua
WowLua.toc
WowLua.xml
diff --git a/WowLua.lua b/WowLua.lua
index e48268a..5e1c9b6 100644
--- a/WowLua.lua
+++ b/WowLua.lua
@@ -248,7 +248,7 @@ end
 function WowLua:Initialize(frame)
 	WowLua:OnSizeChanged(frame)
 	table.insert(UISpecialFrames, "WowLuaFrame")
-	PlaySound("igMainMenuOpen");
+	PlaySound("SOUNDKIT.IG_MAINMENU_OPEN");
 	self:UpdateButtons()
 end

diff --git a/WowLua.toc b/WowLua.toc
index 2d53fc3..a414586 100644
--- a/WowLua.toc
+++ b/WowLua.toc
@@ -1,4 +1,4 @@
-## Interface: 70100
+## Interface: 70300
 ## Title: WowLua
 ## Version: @project-version@
 ## Author: Cladhaire
diff --git a/WowLua.xml b/WowLua.xml
index a725d9d..89c3f3e 100644
--- a/WowLua.xml
+++ b/WowLua.xml
@@ -678,7 +678,7 @@
 				WowLua:Initialize(self)
 			</OnShow>
 			<OnHide>
-				PlaySound("igMainMenuQuit");
+				PlaySound("SOUNDKIT.IG_MAINMENU_QUIT");
 			</OnHide>
 			<OnSizeChanged>
 				WowLua:OnSizeChanged(self)