diff --git a/game/screens/game_screens.py b/game/screens/game_screens.py index 778808e..288bc91 100644 --- a/game/screens/game_screens.py +++ b/game/screens/game_screens.py @@ -94,8 +94,7 @@ class MainScreen(Screen): for (y, row) in enumerate(map.walkable): for (x, val) in enumerate(row): pos = map_pos_to_world_pos(Position(x,y)) - graphic = Graphic(0) if val else\ - Graphic(WALL_CHAR) if map.walkable[y+1,x] else Graphic(VERTICAL_WALL_CHAR) + graphic = Graphic(0 if val else WALL_CHAR if map.walkable[y+1,x] else VERTICAL_WALL_CHAR) draw(pos, graphic) # draw all entities that are not actors for entity in g.world.Q.all_of(components=[Position, Graphic]).none_of(tags=[IsActor]):