diff --git a/src/game/Map.py b/src/game/Map.py index e70e439..3cbf07f 100644 --- a/src/game/Map.py +++ b/src/game/Map.py @@ -78,7 +78,7 @@ class Map: def getEntityOnCoord(self, coord): result = None for entity in self.collidables: - if entity.rect.x == coord[0] and entity.rect.y == coord[1] + if entity.rect.x == coord[0] and entity.rect.y == coord[1]: result = entity return result