summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/vm/def.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/def.lua b/script/vm/def.lua
index accfbb1b..03743826 100644
--- a/script/vm/def.lua
+++ b/script/vm/def.lua
@@ -85,7 +85,7 @@ local nodeSwitch;nodeSwitch = util.switch()
local parentNode = vm.compileNode(source.node)
local uri = guide.getUri(source)
local key = guide.getKeyName(source)
- if not key then
+ if type(key) ~= 'string' then
return
end
if lastKey then