summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/vm/runner.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua
index 026fd983..9384ec01 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -78,7 +78,7 @@ function mt:_compileNarrowByFilter(filter, pos)
break
end
end
- if not loc then
+ if not loc or not exp then
return
end
if exp.type == 'nil' then