diff options
Diffstat (limited to 'script/vm/global.lua')
-rw-r--r-- | script/vm/global.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/global.lua b/script/vm/global.lua index c9bb4cc7..22235681 100644 --- a/script/vm/global.lua +++ b/script/vm/global.lua @@ -350,6 +350,10 @@ local compilerGlobalSwitch = util.switch() or field.value.type == 'string' then source._enums[#source._enums+1] = field.value[1] end + if field.value.type == 'binary' + or field.value.type == 'unary' then + source._enums[#source._enums+1] = vm.getNumber(field.value) + end ::CONTINUE:: end end |