Fixed syntax
This commit is contained in:
parent
a06ce53fc1
commit
7b34e04665
@ -78,7 +78,7 @@ class Map:
|
|||||||
def getEntityOnCoord(self, coord):
|
def getEntityOnCoord(self, coord):
|
||||||
result = None
|
result = None
|
||||||
for entity in self.collidables:
|
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
|
result = entity
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user