|
@@ -308,7 +308,7 @@ module.exports = class Computer {
|
|
Operation_Input(rawOpcode) {
|
|
Operation_Input(rawOpcode) {
|
|
// Disallow Position Parameter Mode
|
|
// Disallow Position Parameter Mode
|
|
const outputParamMode = ComputerParameterMode.ParseParameterMode(rawOpcode, 1) || 1;
|
|
const outputParamMode = ComputerParameterMode.ParseParameterMode(rawOpcode, 1) || 1;
|
|
- const outputPosition = this.stack.Next().Get(outputParamMode);
|
|
|
|
|
|
+ const outputPosition = this.stack.Next().Get(outputParamMode, true);
|
|
|
|
|
|
/** A variable to store the input in before putting it on the stack */
|
|
/** A variable to store the input in before putting it on the stack */
|
|
let userInput;
|
|
let userInput;
|