diff options
Diffstat (limited to 'desktop/core/library')
-rw-r--r-- | desktop/core/library/o.js | 1 | ||||
-rw-r--r-- | desktop/core/library/q.js | 1 | ||||
-rw-r--r-- | desktop/core/library/t.js | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/desktop/core/library/o.js b/desktop/core/library/o.js index c54fab3..4deeedd 100644 --- a/desktop/core/library/o.js +++ b/desktop/core/library/o.js @@ -18,7 +18,6 @@ function OperatorO (orca, x, y, passive) { const y = this.listen(this.ports.haste.y, true) this.ports.input.val = { x: x + 1, y: y } orca.lock(this.x + x + 1, this.y + y) - const res = this.listen(this.ports.input.val) this.output(`${res}`, true) } diff --git a/desktop/core/library/q.js b/desktop/core/library/q.js index f0d10c2..8de4256 100644 --- a/desktop/core/library/q.js +++ b/desktop/core/library/q.js @@ -25,7 +25,6 @@ function OperatorQ (orca, x, y, passive) { const len = this.listen(this.ports.haste.len, true, 1) const x = this.listen(this.ports.haste.x, true) const y = this.listen(this.ports.haste.y, true) - for (let i = 1; i <= len; i++) { this.ports.input[`val${i}`] = { x: x + i, y: y } orca.lock(this.x + x + i, this.y + y) diff --git a/desktop/core/library/t.js b/desktop/core/library/t.js index 2bee74c..259944e 100644 --- a/desktop/core/library/t.js +++ b/desktop/core/library/t.js @@ -23,9 +23,7 @@ function OperatorT (orca, x, y, passive) { this.run = function () { const len = this.listen(this.ports.haste.len, true, 1) const key = this.listen(this.ports.haste.key, true) - this.ports.input.val = { x: (key % len) + 1, y: 0 } - const res = this.listen(this.ports.input.val) this.output(`${res}`, true) } |