浏览代码

Add missing break in OPCODES.OUTPUT

ApisNecros 1 年之前
父节点
当前提交
4ede59f9b3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      IntComp/Computer.js

+ 2 - 0
IntComp/Computer.js

@@ -59,7 +59,9 @@ module.exports = class Computer {
             }
             case this.OPCODES.OUTPUT: {
                 const outputPosition = this.stack.Next().Get();
+
                 this.Operation_Output(outputPosition);
+                break;
             }
             case this.OPCODES.HALT:
                 status = false;