diff options
Diffstat (limited to 'script-beta/vm/getLibrary.lua')
-rw-r--r-- | script-beta/vm/getLibrary.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script-beta/vm/getLibrary.lua b/script-beta/vm/getLibrary.lua index 69280fd9..32438805 100644 --- a/script-beta/vm/getLibrary.lua +++ b/script-beta/vm/getLibrary.lua @@ -73,9 +73,9 @@ end local function getLibrary(source) return checkNode(source) or checkStdLibrary(source) - or vm.eachRef(source, function (info) - return checkStdLibrary(info.source) - or checkNode(info.source) + or vm.eachRef(source, function (src) + return checkStdLibrary(src) + or checkNode(src) end, 100) end |