From 391792c8c8f313faf8575e69c6c2d3992c1d61df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kl=C4=81vs=20Pried=C4=ABtis?= Date: Thu, 27 Sep 2018 03:25:14 +0300 Subject: [PATCH] simply math expression --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 50e3a5ed..2a571ae4 100644 --- a/script.js +++ b/script.js @@ -2770,7 +2770,7 @@ function fantasyMap() { amended.push([x, y]); } } - const width = +riverWidthInput.value * 0.6 + Math.random() * 1; + const width = +riverWidthInput.value * 0.6 + Math.random(); const increment = +riverIncrement.value * 0.9 + Math.random() * 0.2; riverWidthInput.value = width; riverIncrement.value = increment;