Compare commits

...

2 Commits

Author SHA1 Message Date
Mal
75797d968e Graveyard background tiles are darker now 2025-05-17 01:11:08 +02:00
Mal
0175246268 Neighbours of background tiles are recalculated now 2025-05-17 01:10:57 +02:00
2 changed files with 3 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -207,6 +207,7 @@ export default class Tilorswift
this.map.appendChild(this.level.terrain.getElement());
this.tilesetPicker.reloadTileset(this.tileset);
this.backgroundPicker.reloadTileset(this.tileset);
this.initializeIntelligentBrushWidget();
}
@ -229,6 +230,8 @@ export default class Tilorswift
addBackground(field)
{
field.setIndex(this.level.terrain.brushTileIndex);
this.updateNeighbours(field);
}
updateNeighbours(field)