mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 08:14:52 +09:00
Rename
This commit is contained in:
1 parent
4efa83edd9
commit
ec0be19e54
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user