fixed doors

This commit is contained in:
Lukas Nöllemeyer 2024-08-19 20:19:33 +02:00
parent 200a0a4996
commit e3dfc649d4
3 changed files with 4 additions and 8 deletions

View file

@ -109,7 +109,7 @@ class MainScreen(Screen):
console.rgba[["ch","fg"]][j, i] = 0x2591, (50,50,50, 255)
continue
walkable = (not in_map) or map.walkable[map_pos.y, map_pos.x]
if walkable:
if walkable or world_pos in doors:
console.rgba[["ch","fg"]][j, i] = FLOOR_CHAR, (70,70,70, 255)
continue
ch = VERTICAL_WALL_CHAR