瀏覽代碼

Reset running & awaitingFeedback values on Reset

ApisNecros 1 年之前
父節點
當前提交
985081e604
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      IntComp/Computer.js

+ 2 - 0
IntComp/Computer.js

@@ -517,6 +517,8 @@ module.exports = class Computer {
         this.stack = new Stack(this._initialMemory);
         this.outputValues = [];
         this.options.inputModeMap = DeepClone(this.options._initialInputModeMap);
+        this.running = false;
+        this.awaitingInput = false;
     }
 
     /**