diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/sources/scripts/client.js | 2 | ||||
-rw-r--r-- | desktop/sources/scripts/commander.js | 2 | ||||
-rw-r--r-- | desktop/sources/scripts/core/operator.js | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/desktop/sources/scripts/client.js b/desktop/sources/scripts/client.js index 2bf9ab5..ea0f555 100644 --- a/desktop/sources/scripts/client.js +++ b/desktop/sources/scripts/client.js @@ -12,7 +12,7 @@ /* global Theme */ function Client () { - this.version = 162 + this.version = 163 this.library = library this.theme = new Theme(this) diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js index e9ea0d2..6e6aa6b 100644 --- a/desktop/sources/scripts/commander.js +++ b/desktop/sources/scripts/commander.js @@ -60,7 +60,7 @@ function Commander (client) { const block = client.source.cache[p._str + '.orca'] if (!block) { console.warn('Commander', 'Unknown block: ' + p._str); return } client.orca.writeBlock(origin ? origin.x : client.cursor.x, origin ? origin.y : client.cursor.y, block) - client.cursor.scaleTo(0,0) + client.cursor.scaleTo(0, 0) }, write: (p) => { client.cursor.select(p._x, p._y, p._str.length); client.orca.writeBlock(p._str) } } diff --git a/desktop/sources/scripts/core/operator.js b/desktop/sources/scripts/core/operator.js index 7292b2c..4077f99 100644 --- a/desktop/sources/scripts/core/operator.js +++ b/desktop/sources/scripts/core/operator.js @@ -42,6 +42,7 @@ function Operator (orca, x, y, glyph = '.', passive = false) { const payload = this.operation(force) // Permissions for (const port of Object.values(this.ports)) { + if (port.bang) { continue } orca.lock(this.x + port.x, this.y + port.y) } |