Fix a typo that made corridors unable to be built

This commit is contained in:
Charles Peyrat 2021-01-08 07:41:00 +01:00
parent c6947fab44
commit c06f903a16
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class Generator:
break break
else: else:
for i in range(l): for i in range(l):
room[y+i*dy][x+i*dx] == Tile.FLOOR room[y+i*dy][x+i*dx] = Tile.FLOOR
break break
return y+l*dy, x+l*dx, dy, dx return y+l*dy, x+l*dx, dy, dx