From 1130d6d70348d040bdf63ddf8da7111f5f4e8992 Mon Sep 17 00:00:00 2001 From: randomuser Date: Thu, 28 Apr 2022 21:01:03 -0500 Subject: [PATCH] undo previous changes; readd corrections --- utils/map.py => map.py | 2 +- utils/render.py => render.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename utils/map.py => map.py (97%) rename utils/render.py => render.py (100%) 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