mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Update heightmap-generator.js
move 'range = query.slice()' out of 'range.forEach'
This commit is contained in:
parent
8a6108e203
commit
b437075a98
1 changed files with 2 additions and 2 deletions
|
|
@ -478,9 +478,9 @@
|
|||
cells.h[e] **= exp;
|
||||
if (cells.h[e] > 100) cells.h[e] = 5;
|
||||
});
|
||||
|
||||
range = query.slice();
|
||||
});
|
||||
range = query.slice();
|
||||
|
||||
width--;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue