generation flow for heightmap select

This commit is contained in:
Azgaar 2022-05-26 00:19:32 +03:00
parent ff31e23a27
commit 6766de46ef
9 changed files with 132 additions and 100 deletions

View file

@ -137,7 +137,7 @@ function recalculatePopulation() {
}
function regenerateStates() {
const localSeed = Math.floor(Math.random() * 1e9); // new random seed
const localSeed = generateSeed();
Math.random = aleaPRNG(localSeed);
const statesCount = +regionsOutput.value;