Quantcast

Fix constant names

Jim Whitehead [09-24-17 - 07:14]
Fix constant names
Filename
WowLua.lua
WowLua.xml
diff --git a/WowLua.lua b/WowLua.lua
index 5e1c9b6..cc0367e 100644
--- a/WowLua.lua
+++ b/WowLua.lua
@@ -248,7 +248,7 @@ end
 function WowLua:Initialize(frame)
 	WowLua:OnSizeChanged(frame)
 	table.insert(UISpecialFrames, "WowLuaFrame")
-	PlaySound("SOUNDKIT.IG_MAINMENU_OPEN");
+	PlaySound(SOUNDKIT.IG_MAINMENU_OPEN);
 	self:UpdateButtons()
 end

diff --git a/WowLua.xml b/WowLua.xml
index 89c3f3e..a12d35d 100644
--- a/WowLua.xml
+++ b/WowLua.xml
@@ -678,7 +678,7 @@
 				WowLua:Initialize(self)
 			</OnShow>
 			<OnHide>
-				PlaySound("SOUNDKIT.IG_MAINMENU_QUIT");
+				PlaySound(SOUNDKIT.IG_MAINMENU_QUIT);
 			</OnHide>
 			<OnSizeChanged>
 				WowLua:OnSizeChanged(self)