From c0c5161f97ed65e84c5b251560b4736ffd77c1cb Mon Sep 17 00:00:00 2001 From: StempunkDev Date: Sun, 30 Jul 2023 13:56:06 +0200 Subject: [PATCH] Individual Regeneration of Temperatures --- modules/ui/options.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ui/options.js b/modules/ui/options.js index ce34109d..27db7dec 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -612,11 +612,10 @@ function randomizeOptions() { tMin = -30; // temperature extremes if (randomize || !locked("temperatureEquator")) temperatureEquatorOutput.value = temperatureEquatorInput.value = rand(tMax - 10, tMax); - if (randomize || !locked("temperaturePole")) { + if (randomize || !locked("temperatureNorthPole")) temperatureNorthPoleOutput.value = temperatureNorthPoleInput.value = rand(tMin, tMin + 30); + if (randomize || !locked("temperatureSouthPole")) temperatureSouthPoleOutput.value = temperatureSouthPoleInput.value = rand(tMin, tMin + 30); - } - // 'Units Editor' settings const US = navigator.language === "en-US";