summaryrefslogtreecommitdiff
path: root/script/vm/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/vm.lua')
-rw-r--r--script/vm/vm.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/script/vm/vm.lua b/script/vm/vm.lua
index ebd0102b..0e7f3176 100644
--- a/script/vm/vm.lua
+++ b/script/vm/vm.lua
@@ -59,6 +59,13 @@ function m.getArgInfo(source)
return nil
end
+function m.getSpecial(source)
+ if not source then
+ return nil
+ end
+ return source.special
+end
+
function m.getKeyName(source)
if not source then
return nil