ExpLib always in global now

This commit is contained in:
Cooldude2606 committed 2018-06-01 00:58:02 +01:00
1 parent 121dcbe70e
commit 22d3efc4a1
2 files changed
+17 -19

No files matched your search

+2 -5
View File
@@ -161,9 +161,6 @@ function ExpLib.gui_tree(root)
return tree
end
-- unpacks lib to _G on module init
function ExpLib.on_init(self)
self:unpack_to_G()
end
-- bypasses the module sandbox and places functions into _G
ExpLib:unpack_to_G()
return ExpLib