Code cleanup

This commit is contained in:
CanisArtorus 2021-01-26 15:27:22 -07:00
parent 1d5d96b862
commit bf5a3b8870
3 changed files with 10 additions and 17 deletions

View file

@ -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