ego update
Munglunch [11-18-14 - 18:38]
diff --git a/Interface/AddOns/SVUI/framework/widgets/widget_ego.lua b/Interface/AddOns/SVUI/framework/widgets/widget_ego.lua
index 4b3a531..801a291 100644
--- a/Interface/AddOns/SVUI/framework/widgets/widget_ego.lua
+++ b/Interface/AddOns/SVUI/framework/widgets/widget_ego.lua
@@ -23,7 +23,6 @@ local select = _G.select;
local math = _G.math;
--[[ MATH METHODS ]]--
local random = math.random;
-local GameMenuFrame = _G.GameMenuFrame
--[[
##########################################################
GET ADDON DATA
@@ -31,7 +30,7 @@ GET ADDON DATA
]]--
local SV = select(2, ...);
-SV.GameMenu = _G["SVUI_EgoFrame"];
+SV.Ego = _G["SVUI_EgoFrame"];
local Sequences = {
--{65, 1000}, --shrug
@@ -66,7 +65,7 @@ local Activate = function(self)
self.ModelRight:SetAnimation(emote)
end
-function SV.GameMenu:Initialize()
+function SV.Ego:Initialize()
self:SetFrameLevel(0)
self:SetAllPoints(SV.Screen)
@@ -89,7 +88,7 @@ function SV.GameMenu:Initialize()
self:SetScript("OnShow", Activate)
end
-function SV.GameMenu:Toggle()
+function SV.Ego:Toggle()
if(SV.db.general.ego) then
self:Show()
self:SetScript("OnShow", Activate)
diff --git a/Interface/AddOns/SVUI/framework/widgets/widgets.xml b/Interface/AddOns/SVUI/framework/widgets/widgets.xml
index d2e7fa8..917538f 100644
--- a/Interface/AddOns/SVUI/framework/widgets/widgets.xml
+++ b/Interface/AddOns/SVUI/framework/widgets/widgets.xml
@@ -133,7 +133,7 @@
</Frames>
</Frame>
- <Frame name="SVUI_EgoFrame" parent="GameMenuFrame">
+ <Frame name="SVUI_EgoFrame">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-7">
<Texture file="Interface\AddOns\SVUI\assets\artwork\Template\DEFAULT">