refixed door rendering
This commit is contained in:
parent
a53d48e94e
commit
ed2a8181b9
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class MainScreen(Screen):
|
|||
map: Map = g.world[None].components[Map]
|
||||
|
||||
# Draw walls
|
||||
doors = [ world_pos_to_map_pos(d.components[Position]) for d in g.world.Q.all_of(tags=[IsDoor]) ]
|
||||
doors = [ d.components[Position] for d in g.world.Q.all_of(tags=[IsDoor]) ]
|
||||
for i in range(console.width):
|
||||
for j in range(console.height):
|
||||
world_pos = Position(i-w,j-h)+camera_pos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue