From 2dd508889f89e3751dd5f7921e50936bb300f619 Mon Sep 17 00:00:00 2001 From: ente Date: Sun, 21 Apr 2024 22:05:30 +0200 Subject: [PATCH] new way of calculating the possible combinations --- neomojimixer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neomojimixer.js b/neomojimixer.js index 414b9d5..4fa5b39 100644 --- a/neomojimixer.js +++ b/neomojimixer.js @@ -73,7 +73,7 @@ function loadParts(parts) { //Show little statistic var sum = body.length + eyes.length + mouth.length + arms.length; - var variety = body.length * eyes.length * mouth.length * arms.length; + var variety = body.length * eyes.length * mouth.length * arms_orange.length; stats.innerHTML = "There are " + sum + " Elements available,
with " + new Intl.NumberFormat("de-DE").format(variety) + " possible combinations.";