summaryrefslogtreecommitdiff
path: root/script/vm/global.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/global.lua')
-rw-r--r--script/vm/global.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/vm/global.lua b/script/vm/global.lua
index d9509fe7..c9bb4cc7 100644
--- a/script/vm/global.lua
+++ b/script/vm/global.lua
@@ -331,8 +331,8 @@ local compilerGlobalSwitch = util.switch()
enum:addSet(uri, source)
source._globalNode = enum
- local tbl = source.bindSource and source.bindSource.value
- if not tbl or tbl.type ~= 'table' then
+ local tbl = source.bindSource
+ if not tbl then
return
end
source._enums = {}