소스 검색

Reset the outputValues array to the correct value

ApisNecros 1 년 전
부모
커밋
1c912f39f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      IntComp/Computer.js

+ 1 - 1
IntComp/Computer.js

@@ -412,7 +412,7 @@ module.exports = class Computer {
      */
     Reset() {
         this.stack = new Stack(this._initialMemory);
-        this.outputValues = null;
+        this.outputValues = [];
         this.outputComputer = null;
         this.options.inputModeMap = DeepClone(this.options._initialInputModeMap);
     }