diff --git a/utils/map.py b/map.py similarity index 97% rename from utils/map.py rename to map.py index 915a2a4..6bf584a 100644 --- a/utils/map.py +++ b/map.py @@ -79,7 +79,7 @@ class Tile: this Tile is visible. """ try: - return self.textures[0] + return self.textures[list(self.textures.keys())[0]].texture except IndexError: raise TileError("no textures to render!") diff --git a/utils/render.py b/render.py similarity index 100% rename from utils/render.py rename to render.py