Quantcast

x

Steven Jackson [09-10-14 - 03:04]
x
Filename
Interface/AddOns/SVUI/system/load.lua
diff --git a/Interface/AddOns/SVUI/system/load.lua b/Interface/AddOns/SVUI/system/load.lua
index 6f4f3e4..89299d2 100644
--- a/Interface/AddOns/SVUI/system/load.lua
+++ b/Interface/AddOns/SVUI/system/load.lua
@@ -209,7 +209,6 @@ function SV:Launch()
 	self.UIParent:RegisterEvent("ADDON_ACTION_BLOCKED");
 	self.UIParent:RegisterEvent("ADDON_ACTION_FORBIDDEN");
 	self.UIParent:RegisterEvent("SPELLS_CHANGED");
-	self.UIParent:RegisterEvent("ZONE_CHANGED");

 	Registry:Update("SVMap");
 	Registry:Update("SVUnit", true);
@@ -310,8 +309,6 @@ local SVUISystem_OnEvent = function(self, event, arg, ...)
 	elseif(event == "PLAYER_REGEN_ENABLED") then
 		SV:ToggleConfig()
 		self:UnregisterEvent('PLAYER_REGEN_ENABLED')
-	elseif(event == "ZONE_CHANGED") then
-		collectgarbage("collect")
 	end
 end