Editor: Fix shift-pencilling a tile with properties
This commit is contained in:
1 parent
cb62786470
commit
f7080a2697
1 file changed
+1
-5
+1
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user