summaryrefslogtreecommitdiff
path: root/script-beta/library.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/library.lua')
-rw-r--r--script-beta/library.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script-beta/library.lua b/script-beta/library.lua
index 6776a796..961b6b4c 100644
--- a/script-beta/library.lua
+++ b/script-beta/library.lua
@@ -98,6 +98,7 @@ local function insertGlobal(tbl, key, value)
child = {},
value = value,
}
+ value.library = tbl[key]
return true
end
@@ -199,6 +200,7 @@ local function insertChild(tbl, name, key, value)
name = key,
value = value,
}
+ value.library = tbl[name].child[key]
end
local function mergeParent(alllibs, name, lib, libName)