From 544d923ca6fa6576f7227849dd8fab0cdf30eb94 Mon Sep 17 00:00:00 2001 From: ElGurkus Date: Fri, 6 Nov 2020 10:48:20 +0100 Subject: [PATCH] changed code -> tiny change, actually done now i hope? --- code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code.js b/code.js index 35ca851..663c50b 100644 --- a/code.js +++ b/code.js @@ -42,7 +42,7 @@ if(getCookie("saveChoiceAllowed") !== "true") { } } allowHSCookies = getCookie("cookiesAllowed"); -if(allowHSCookies){ +if(allowHSCookies && getCookie("highScore") !== ""){ highScore = getCookie("highScore"); } document.getElementById("highScore").innerText = "Highscore: " + highScore;