check entities list instead of entitiesRawData list
This commit is contained in:
parent
f6fa3b461b
commit
1b71fe886b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user