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):
|
def movableList(self):
|
||||||
terrainList = self.terrainTilesList
|
terrainList = self.terrainTilesList
|
||||||
for i in self.entitiesRawData:
|
for i in self.entities:
|
||||||
terrainList.remove(self.getTileOnCoord((i.x, i.y)))
|
terrainList.remove(self.getTileOnCoord((i.x, i.y)))
|
||||||
return terrainList
|
return terrainList
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user