From 1f280133bee07b596260f16a5ebbf6ce8e20ecea Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 23 Aug 2024 12:43:15 +0200 Subject: [PATCH] fix: recreateStates --- index.html | 2 +- modules/ui/tools.js | 2 +- versioning.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index ff08bcb2..9cd182ac 100644 --- a/index.html +++ b/index.html @@ -8017,7 +8017,7 @@ - + diff --git a/modules/ui/tools.js b/modules/ui/tools.js index e327028a..9c75ac20 100644 --- a/modules/ui/tools.js +++ b/modules/ui/tools.js @@ -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(`States Number option value is zero. No counties are generated`, false, "error"); return null; diff --git a/versioning.js b/versioning.js index ca2f82a0..368a4924 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.99.05"; // generator version, update each time +const version = "1.99.06"; // generator version, update each time { document.title += " v" + version;