Fixed bug that would cause gate to be next to chieftain hut.

This commit is contained in:
Sam 2021-12-19 22:54:30 -05:00
parent 9dcfb43fe6
commit 59551efb06

View File

@ -80,9 +80,9 @@ impl GnarlingFortification {
} else if chosen < (gate_index - 2) {
chosen
} else {
(chosen + 3) % gate_index
chosen + 4
};
[index, index + 1]
[index, (index + 1) % outer_wall_corners.len()]
};
// TODO: Figure out how to resolve the allow