diff options
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 1ba20785..6932a8c8 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1313,14 +1313,6 @@ local compilerSwitch = util.switch() else vm.setNode(src, vm.compileNode(src.value), true) end - elseif src.value - and src.value.type == 'binary' - and src.value.op and src.value.op.type == 'or' - and src.value[1] and src.value[1].type == 'getlocal' and src.value[1].node == source then - -- x = x or 1 - vm.setNode(src, vm.compileNode(src.value)) - else - vm.setNode(src, node, true) end return vm.getNode(src) elseif src.type == 'getlocal' then |