Procházet zdrojové kódy

Add missing break in OPCODES.OUTPUT

ApisNecros před 1 rokem
rodič
revize
4ede59f9b3
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;