fix new game

This commit is contained in:
HearMeWhisper 2021-09-30 21:58:21 -04:00
parent cf089ad0b7
commit 2af07974ff

View File

@ -421,7 +421,7 @@ function upper_score() {
game_over = true; game_over = true;
if (Number(localStorage.getItem('high_score')) < final_total) localStorage.setItem('high_score', final_total); if (Number(localStorage.getItem('high_score')) < final_total) localStorage.setItem('high_score', final_total);
document.getElementById('btn').onclick = function() { document.getElementById('btn').onclick = function() {
drawboard(); window.location.reload(false);
}; };