From 6c0aaffd77b315e0cb285e45709c138dab915514 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sun, 10 Jan 2021 22:53:27 +0100 Subject: [PATCH] Doors are walls --- squirrelbattle/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squirrelbattle/interfaces.py b/squirrelbattle/interfaces.py index ea39cac..80be06b 100644 --- a/squirrelbattle/interfaces.py +++ b/squirrelbattle/interfaces.py @@ -431,7 +431,7 @@ class Tile(Enum): """ Is this Tile a wall? """ - return self == Tile.WALL + return self == Tile.WALL or self == Tile.DOOR def is_ladder(self) -> bool: """