Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into ai-generation

This commit is contained in:
Azgaar 2024-08-23 14:44:10 +02:00
commit 1c29a7cdcd
5 changed files with 9 additions and 9 deletions

View file

@ -176,7 +176,7 @@ function recreateStates() {
const localSeed = generateSeed();
Math.random = aleaPRNG(localSeed);
const statesCount = +byId("").value;
const statesCount = +byId("statesNumber").value;
if (!statesCount) {
tip(`<i>States Number</i> option value is zero. No counties are generated`, false, "error");
return null;