Fix a typo that made corridors unable to be built
This commit is contained in:
parent
c6947fab44
commit
c06f903a16
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue