aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/control.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp
index 2a65aa1ea1..0dd5e0550c 100644
--- a/sky/control.cpp
+++ b/sky/control.cpp
@@ -561,7 +561,11 @@ uint16 SkyControl::handleClick(SkyConResource *pButton) {
case RESTART:
animClick(pButton);
- return 0;
+ if (getYesNo(NULL)) {
+ restartGame();
+ return GAME_RESTORED;
+ } else
+ return 0;
case QUIT_TO_DOS:
animClick(pButton);