diff --git a/game/screens/game_screens.py b/game/screens/game_screens.py index ddea154..5054a4e 100644 --- a/game/screens/game_screens.py +++ b/game/screens/game_screens.py @@ -106,8 +106,7 @@ class MainScreen(Screen): ch = 0 if not val: ch = VERTICAL_WALL_CHAR - in_doors = Position(x,y+1) in doors - if map.walkable[y+1,x] and not in_doors: + if map.walkable[y+1,x] and not Position(x,y+1) in doors: ch = WALL_CHAR graphic = Graphic(ch) draw(pos, graphic)