diff options
-rw-r--r-- | desktop/sources/scripts/core/operator.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/sources/scripts/core/operator.js b/desktop/sources/scripts/core/operator.js index ac61c9a..d5445ba 100644 --- a/desktop/sources/scripts/core/operator.js +++ b/desktop/sources/scripts/core/operator.js @@ -81,8 +81,7 @@ function Operator (orca, x, y, glyph = '.', passive = false) { this.move = function (x, y) { const offset = { x: this.x + x, y: this.y + y } if (!orca.inBounds(offset.x, offset.y)) { this.explode(); return } - const collider = orca.glyphAt(offset.x, offset.y) - if (collider !== '*' && collider !== '.') { this.explode(); return } + if (orca.glyphAt(offset.x, offset.y) !== '.') { this.explode(); return } this.erase() this.x += x this.y += y |