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

master
ElGurkus 4 years ago
parent f8f6a5c823
commit 544d923ca6

@ -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;

Loading…
Cancel
Save