This commit is contained in:
Azgaar 2019-09-12 01:27:03 +03:00
parent 8a52aa35d4
commit 3af345001a

View file

@ -861,7 +861,7 @@ function applyStoredOptions() {
if (localStorage.getItem("regions")) changeStatesNumber(localStorage.getItem("regions"));
if (localStorage.getItem("uiSize")) changeUIsize(localStorage.getItem("uiSize"));
else changeUIsize(Math.max(Math.min(rn(svgWidth / 1024, 1), 3), 1));
else changeUIsize(Math.max(Math.min(rn(mapWidthInput.value / 1024, 1), 3), 1));
}
// randomize options if randomization is allowed (not locked)