diff options
Diffstat (limited to 'desktop/core/library/p.js')
-rw-r--r-- | desktop/core/library/p.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/core/library/p.js b/desktop/core/library/p.js index c7760a2..4491c2e 100644 --- a/desktop/core/library/p.js +++ b/desktop/core/library/p.js @@ -11,7 +11,7 @@ function OperatorP (orca, x, y, passive) { this.ports.haste.len = { x: -1, y: 0 } this.ports.haste.key = { x: -2, y: 0 } this.ports.input.val = { x: 1, y: 0 } - this.ports.output = { x: 0, y: 1 } + this.ports.output = { x: 0, y: 1m unlock: true } this.haste = function () { this.len = clamp(this.listen(this.ports.haste.len, true), 1, 24) @@ -24,6 +24,9 @@ function OperatorP (orca, x, y, passive) { this.run = function () { if (!this.bang() && !passive) { return } + + this.draw = false + const res = this.listen(this.ports.input.val) this.output(`${res}`) } |