summaryrefslogtreecommitdiff
path: root/script-beta/vm/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/vm.lua')
-rw-r--r--script-beta/vm/vm.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/vm/vm.lua b/script-beta/vm/vm.lua
index 556de3df..5028a67c 100644
--- a/script-beta/vm/vm.lua
+++ b/script-beta/vm/vm.lua
@@ -126,6 +126,9 @@ function m.getKeyName(source)
if not source then
return nil
end
+ if source.library then
+ return 's|' .. source.name
+ end
if source.type == 'call' then
local special = m.getSpecial(source.node)
if special == 'rawset'