Fixed syntax

This commit is contained in:
Marcin Kostrzewski 2020-04-05 23:43:15 +02:00
parent a06ce53fc1
commit 7b34e04665

View File

@ -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