This commit is contained in:
Azgaar 2019-09-12 02:02:12 +03:00
parent 78f3b2bb5b
commit 2e60c6a1a6
4 changed files with 10 additions and 10 deletions

View file

@ -862,7 +862,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(mapWidthInput.value / 1024, 1), 3), 1));
else changeUIsize(Math.max(Math.min(rn(mapWidthInput.value / 1230, 1), 3), 1));
}
// randomize options if randomization is allowed (not locked)