[MIRROR] fix an issue in verdigris map distribution (#9765)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-02 16:43:39 +01:00
committed by GitHub
co-authored by Kashargul
parent cf1d3dfc83
commit fb660f56a6
3 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -25,7 +25,7 @@ pub fn generate_automata(
for x in [-1, 0, 1] {
for y in [-1, 0, 1] {
let idx = ((i as i32) + x + (y * (limit_y as i32))) as usize;
let idx = ((i as i32) + x + (y * (limit_x as i32))) as usize;
if let Some(&value) = map.get(idx) {
let is_border_left = idx % limit_x == 0;