Delete extraneous (de-)elevateLakes

This commit is contained in:
CanisArtorus 2021-01-25 21:31:44 -07:00
parent 02698cc89e
commit 1d5d96b862
4 changed files with 2 additions and 27 deletions

View file

@ -176,7 +176,6 @@ function editHeightmap() {
reGraph();
drawCoastline();
elevateLakes();
Rivers.generate(change);
if (!change) {
@ -289,7 +288,7 @@ function editHeightmap() {
drawCoastline();
if (changeHeights.checked) {
elevateLakes();
// elevateLakes();
Rivers.generate(changeHeights.checked);
}
@ -314,7 +313,7 @@ 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
// 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