1
0
Fork 0

fix issue where game over didn't prevent player from continuing.

master
Kevin Whitaker 2022-04-05 15:32:49 -04:00
parent 0d6abf1115
commit d13ca46cc5
1 changed files with 1 additions and 1 deletions

View File

@ -703,8 +703,8 @@ function drawScreenHelp() {
} }
function drawGameOver(win) { function drawGameOver(win) {
E.showAlert(win ? "AI has given up. You Win!" : "You cannot play. AI wins.").then(function(){
startedGame = false; startedGame = false;
E.showAlert(win ? "AI has given up. You Win!" : "You cannot play. AI wins.").then(function(){
undoStack = []; undoStack = [];
drawMainMenu(); drawMainMenu();
}); });