mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Code cleanup
This commit is contained in:
parent
1d5d96b862
commit
bf5a3b8870
3 changed files with 10 additions and 17 deletions
|
|
@ -288,7 +288,6 @@ function editHeightmap() {
|
|||
drawCoastline();
|
||||
|
||||
if (changeHeights.checked) {
|
||||
// elevateLakes();
|
||||
Rivers.generate(changeHeights.checked);
|
||||
}
|
||||
|
||||
|
|
@ -313,7 +312,6 @@ function editHeightmap() {
|
|||
|
||||
for (const i of pack.cells.i) {
|
||||
const g = pack.cells.g[i];
|
||||
// if (pack.features[pack.cells.f[i]].group === "freshwater") pack.cells.h[i] = 19; // de-elevate lakes
|
||||
const land = pack.cells.h[i] >= 20;
|
||||
|
||||
// check biome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue