Преглед на файлове

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;