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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue