summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index cf5edf04c4..0c4d997d89 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1842,6 +1842,15 @@ void up_stairs(dungeon_feature_type force_stair,
&& (!yesno("Are you sure you want to leave the Dungeon?", false, 'n')
|| !_check_carrying_orb()))
{
+ if (Options.tutorial_left)
+ {
+ if (!yesno("Are you *sure*? Doing so will end the game!", false,
+ 'n'))
+ {
+ mpr("Alright.");
+ return;
+ }
+ }
mpr("Alright, then stay!");
return;
}