Fix merging mistakes and chunk rooms
This commit is contained in:
parent
79d8ef3a44
commit
03c45a970c
@ -279,7 +279,7 @@ class Generator:
|
||||
if d + (x - j)**2 < r**2:
|
||||
room[i][j] = Tile.FLOOR
|
||||
|
||||
draw_chunk(room, height//2 + 1, width//2 + 1)
|
||||
draw_chunk(room, h_off + height//2 + 1, w_off + width//2 + 1)
|
||||
|
||||
min_w, max_w = w_off + r + 1, width + w_off - r -1
|
||||
min_h, max_h = h_off + r + 1, height + h_off - r - 1
|
||||
|
Loading…
Reference in New Issue
Block a user