This commit is contained in:
Cooldude2606 committed 2017-11-30 19:20:11 +00:00
1 parent 4efa83edd9
commit ec0be19e54
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ local ExpLib = {}
-- @usage a = {k1='foo',k2='bar'}
-- _load_to_G(a)
-- @tparam table tbl table to add to the global lua table
function ExpLib._load_to_G(tbl)
function ExpLib._unpack_to_G(tbl)
if not type(tbl) == 'table' or game then return end
for name,value in pairs(tbl) do
if not _G[name] then _G[name] = value end