From f7080a2697207771c16d803e72402fbe8a61073b Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 3 Dec 2020 22:51:07 -0700 Subject: [PATCH] Editor: Fix shift-pencilling a tile with properties --- js/main-editor.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/main-editor.js b/js/main-editor.js index 77b4913..6eb6526 100644 --- a/js/main-editor.js +++ b/js/main-editor.js @@ -282,11 +282,7 @@ class PencilOperation extends DrawOperation { if (type.draw_layer !== 0) { cell.push({type: TILE_TYPES.floor}); } - let direction; - if (type.is_actor) { - direction = 'south'; - } - cell.push({type, direction}); + this.editor.place_in_cell(x, y, this.editor.palette_selection); } else { // Default operation: only erase whatever's on the same layer