From 3199f549dde4f9ae20553e22dd55649ef75cf8ab Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Fri, 14 Jan 2022 14:17:16 +0000 Subject: [PATCH] update bug where all regions == no countries lol --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index c005678..1bb93bf 100644 --- a/game.js +++ b/game.js @@ -93,7 +93,7 @@ var resultsChart = new Chart( function init() { // generate question list questionList = Object.values(getMasterQuestionList()) - .filter(q => q.region == selectedRegion || q.subregion == selectedRegion) + .filter(q => q.region == selectedRegion || q.subregion == selectedRegion || selectedRegion == ALL_REGIONS) .sort(() => Math.random()-0.5); // set up state variable