Don't ignore first line
This commit is contained in:
parent
cf6fe346d3
commit
a80a604212
@ -88,7 +88,6 @@ class Map:
|
||||
Transforms a string into the list of corresponding tiles
|
||||
"""
|
||||
lines = content.split("\n")
|
||||
lines = [line for line in lines[1:] if line]
|
||||
tiles = [[Tile.from_ascii_char(c)
|
||||
for x, c in enumerate(line)] for y, line in enumerate(lines)]
|
||||
return tiles
|
||||
|
Loading…
Reference in New Issue
Block a user