diff CyborgMMO7.lua @ 41:841191e42919

Removed CyborgMMO_Event first argument, it was always nil.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Mon, 29 Apr 2013 17:44:28 +0000
parents 67ad1101ee10
children 5d18eb57ea2f
line wrap: on
line diff
--- a/CyborgMMO7.lua	Thu Apr 25 23:02:39 2013 +0000
+++ b/CyborgMMO7.lua	Mon Apr 29 17:44:28 2013 +0000
@@ -232,7 +232,7 @@
 			self:Hide()
 			self:SetParent(nil)
 			PreloadFrame = nil
-			CyborgMMO_Event(nil, "CYBORGMMO_ASYNC_DATA_LOADED")
+			CyborgMMO_Event("CYBORGMMO_ASYNC_DATA_LOADED")
 		else
 			self.step_timeout = step_timeout
 		end
@@ -295,7 +295,7 @@
 
 ------------------------------------------------------------------------------
 
-function CyborgMMO_Event(self, event, ...)
+function CyborgMMO_Event(event, ...)
 	if event == "VARIABLES_LOADED" then
 		VarsLoaded = true
 		-- create root table if necessary