Don't ignore first line

This commit is contained in:
Yohann D'ANELLO 2020-11-19 00:34:00 +01:00
parent 3126b89bc1
commit 075c061a14
1 changed files with 0 additions and 1 deletions

View File

@ -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