fix: recreateStates

This commit is contained in:
Azgaar 2024-08-23 12:43:15 +02:00
parent dfa3813f04
commit 1f280133be
3 changed files with 3 additions and 3 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;