Quantcast

No need to keep it global

p3lim [09-19-10 - 21:40]
No need to keep it global
Filename
pMinimap.lua
diff --git a/pMinimap.lua b/pMinimap.lua
index efa0f88..9c3b561 100644
--- a/pMinimap.lua
+++ b/pMinimap.lua
@@ -1,6 +1,6 @@
 local _, ns = ...

-pMinimap = CreateFrame('Frame', 'pMinimap', Minimap)
+local pMinimap = CreateFrame('Frame')
 pMinimap:SetScript('OnEvent', function(self, event, ...) self[event](self, ...) end)
 pMinimap:RegisterEvent('ADDON_LOADED')