Fixed door saying open bugs

This commit is contained in:
2026-02-07 13:34:12 +11:00
parent da544438e1
commit 72d0f5d576
3 changed files with 130 additions and 3 deletions

View File

@@ -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;