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

View File

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