Editor: Fix shift-pencilling a tile with properties
This commit is contained in:
parent
cb62786470
commit
f7080a2697
@ -282,11 +282,7 @@ class PencilOperation extends DrawOperation {
|
|||||||
if (type.draw_layer !== 0) {
|
if (type.draw_layer !== 0) {
|
||||||
cell.push({type: TILE_TYPES.floor});
|
cell.push({type: TILE_TYPES.floor});
|
||||||
}
|
}
|
||||||
let direction;
|
this.editor.place_in_cell(x, y, this.editor.palette_selection);
|
||||||
if (type.is_actor) {
|
|
||||||
direction = 'south';
|
|
||||||
}
|
|
||||||
cell.push({type, direction});
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Default operation: only erase whatever's on the same layer
|
// Default operation: only erase whatever's on the same layer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user