Fixed filename
This commit is contained in:
parent
05ce54933d
commit
2af94a27e9
@ -50,7 +50,7 @@ class Map:
|
|||||||
entity["effect"]["thirst"],
|
entity["effect"]["thirst"],
|
||||||
entity["effect"]["stamina"])))
|
entity["effect"]["stamina"])))
|
||||||
else:
|
else:
|
||||||
actualEntities.append(Entity(entity["name"],
|
actualEntities.append(Entity(entity["name"] + ".jpg",
|
||||||
self.tileSize,
|
self.tileSize,
|
||||||
(entity["position"]["x"] * self.tileSize, entity["position"]["y"] * self.tileSize)))
|
(entity["position"]["x"] * self.tileSize, entity["position"]["y"] * self.tileSize)))
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user