forked from FOSS/BangleApps
fix issue where game over didn't prevent player from continuing.
parent
0d6abf1115
commit
d13ca46cc5
|
@ -703,8 +703,8 @@ function drawScreenHelp() {
|
|||
}
|
||||
|
||||
function drawGameOver(win) {
|
||||
E.showAlert(win ? "AI has given up. You Win!" : "You cannot play. AI wins.").then(function(){
|
||||
startedGame = false;
|
||||
E.showAlert(win ? "AI has given up. You Win!" : "You cannot play. AI wins.").then(function(){
|
||||
undoStack = [];
|
||||
drawMainMenu();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue