undo previous changes; readd corrections
This commit is contained in:
parent
764b56a6f2
commit
1130d6d703
|
@ -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!")
|
||||
|
Loading…
Reference in New Issue