From 8e05d6fe9e3ae7ecf44335634d572dee0ebdf307 Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Sun, 24 Mar 2019 20:34:59 +0100 Subject: [PATCH] Correct 1 fail --- public/summoner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/summoner.js b/public/summoner.js index a72cf1d..f341d81 100644 --- a/public/summoner.js +++ b/public/summoner.js @@ -113,7 +113,7 @@ function createObject(JSONData) { } const map = maps[currentMatch.mapId]; - const mode = gameModes[currentMatch.queueId]; + let mode = gameModes[currentMatch.queueId]; if (!mode) mode = 'Undefinded gamemode'; const champion = currentMatch.participants[participantId - 1].championId;