Fixed door saying open bugs
This commit is contained in:
@@ -238,9 +238,7 @@ export class DungeonRenderer {
|
||||
|
||||
// Sync visual tile with logical tile (e.g. if grass was destroyed)
|
||||
if (tile.index !== worldTile) {
|
||||
// We can safely update the index property for basic tile switching
|
||||
// If we needed to change collision properties, we'd use putTileAt
|
||||
tile.index = worldTile;
|
||||
this.layer!.putTileAt(worldTile, tile.x, tile.y);
|
||||
}
|
||||
|
||||
const isSeen = seen[i] === 1;
|
||||
|
||||
Reference in New Issue
Block a user