changed code -> tiny change, actually done now i hope?

This commit is contained in:
ElGurkus 2020-11-06 10:48:20 +01:00
parent f8f6a5c823
commit 544d923ca6

View File

@ -42,7 +42,7 @@ if(getCookie("saveChoiceAllowed") !== "true") {
} }
} }
allowHSCookies = getCookie("cookiesAllowed"); allowHSCookies = getCookie("cookiesAllowed");
if(allowHSCookies){ if(allowHSCookies && getCookie("highScore") !== ""){
highScore = getCookie("highScore"); highScore = getCookie("highScore");
} }
document.getElementById("highScore").innerText = "Highscore: " + highScore; document.getElementById("highScore").innerText = "Highscore: " + highScore;