update yatzee.js

This commit is contained in:
Christopher Edwards 2020-11-09 22:25:40 -05:00
parent 2ddd495f7a
commit c4a6f91b73

View File

@ -78,7 +78,7 @@ function hold_score(cell) {
document.getElementById("cell13").innerHTML = sub_total;
document.getElementById("cell31").innerHTML = final_total;
if (game_over == true) document.getElementById('btn').innerHTML = "New Game?";
if (game_over == true) {document.getElementById('btn').innerHTML = "New Game?"; drawboard();}
}
/*
sub_total = 0;