aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/core/library/p.js
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/core/library/p.js')
-rw-r--r--desktop/core/library/p.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/core/library/p.js b/desktop/core/library/p.js
index df0aea5..55c5e91 100644
--- a/desktop/core/library/p.js
+++ b/desktop/core/library/p.js
@@ -3,7 +3,7 @@
const Operator = require('../operator')
function OperatorP (orca, x, y, passive) {
- Operator.call(this, orca, x, y, 'p', passive)
+ Operator.call(this, orca, x, y, 'p', true)
this.name = 'push'
this.info = 'Writes an eastward operator with offset.'
@@ -23,7 +23,7 @@ function OperatorP (orca, x, y, passive) {
}
this.run = function () {
- if (!this.bang()) { return }
+ if (!passive && !this.bang()) { return }
this.draw = false