From bd0bf0fa9830b12e3407ef9ecabd7a4492bafa9f Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Wed, 16 Apr 2014 16:10:12 -0700 Subject: [PATCH] Removed redundant metatable info for eventTypes table. --- hack/lua/fantastic/events.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hack/lua/fantastic/events.lua b/hack/lua/fantastic/events.lua index d8d593e..61eecf9 100644 --- a/hack/lua/fantastic/events.lua +++ b/hack/lua/fantastic/events.lua @@ -20,12 +20,8 @@ hiddenEventInfo.UNIT_SPAWNED.func=function() end) end -local metaEventTypes={__tostring=function(self) return self.activated end,__metatable='just for tostring'} - eventTypes={UNIT_SPAWNED=false} -setmetatable(eventTypes,metaEventTypes) - function enableEvent(eventType,numTicks) local eventActivated=eventTypes[eventType] local event=hiddenEventInfo[eventType]