Fixed filename

This commit is contained in:
Marcin Kostrzewski 2020-04-05 23:58:03 +02:00
parent 05ce54933d
commit 2af94a27e9

View File

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