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 ffd2de7a..41f735b2 100644
--- a/script/vm/def.lua
+++ b/script/vm/def.lua
@@ -93,7 +93,7 @@ function vm.getDefs(source)
return results
end
-local HAS_DEF_ERR = {'<HAS_DEF_ERR>'} -- the error object for comparing
+local HAS_DEF_ERR = false -- the error object for comparing
local function checkHasDef(checkFunc, source, pushResult)
local _, err = pcall(checkFunc, source, pushResult)
return err == HAS_DEF_ERR