fix new game
This commit is contained in:
parent
cf089ad0b7
commit
2af07974ff
@ -421,7 +421,7 @@ function upper_score() {
|
||||
game_over = true;
|
||||
if (Number(localStorage.getItem('high_score')) < final_total) localStorage.setItem('high_score', final_total);
|
||||
document.getElementById('btn').onclick = function() {
|
||||
drawboard();
|
||||
window.location.reload(false);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user