From 2af94a27e92137803722b6c006be5bcb0919a45e Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sun, 5 Apr 2020 23:58:03 +0200 Subject: [PATCH] Fixed filename --- src/game/Map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Map.py b/src/game/Map.py index 3cbf07f..f0fa06c 100644 --- a/src/game/Map.py +++ b/src/game/Map.py @@ -50,7 +50,7 @@ class Map: entity["effect"]["thirst"], entity["effect"]["stamina"]))) else: - actualEntities.append(Entity(entity["name"], + actualEntities.append(Entity(entity["name"] + ".jpg", self.tileSize, (entity["position"]["x"] * self.tileSize, entity["position"]["y"] * self.tileSize))) except KeyError: