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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/vm.lua b/script-beta/vm/vm.lua
index 907532d8..53a0596d 100644
--- a/script-beta/vm/vm.lua
+++ b/script-beta/vm/vm.lua
@@ -100,7 +100,7 @@ function m.getKeyName(source)
if not source then
return nil
end
- if source.library then
+ if source.type == 'library' then
return 's|' .. source.name
end
if source.type == 'call' then