From 1b71fe886b057246896b94c9ba0599bb71b5d71f Mon Sep 17 00:00:00 2001 From: Mateusz Date: Sat, 30 May 2020 20:30:46 +0200 Subject: [PATCH] check entities list instead of entitiesRawData list --- src/game/Map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Map.py b/src/game/Map.py index 37c605f..b21cf9f 100644 --- a/src/game/Map.py +++ b/src/game/Map.py @@ -253,7 +253,7 @@ class Map: def movableList(self): terrainList = self.terrainTilesList - for i in self.entitiesRawData: + for i in self.entities: terrainList.remove(self.getTileOnCoord((i.x, i.y))) return terrainList