fixed vertical black line bug
This commit is contained in:
@@ -238,7 +238,7 @@ export class DungeonRenderer {
|
|||||||
|
|
||||||
// Sync visual tile with logical tile (e.g. if grass was destroyed)
|
// Sync visual tile with logical tile (e.g. if grass was destroyed)
|
||||||
if (tile.index !== worldTile) {
|
if (tile.index !== worldTile) {
|
||||||
this.layer!.putTileAt(worldTile, tile.x, tile.y);
|
tile.index = worldTile;
|
||||||
}
|
}
|
||||||
|
|
||||||
const isSeen = seen[i] === 1;
|
const isSeen = seen[i] === 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user