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) {
|
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();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue