summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/command.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 520cfa13c2..7ef2c502dd 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -693,8 +693,13 @@ static int keyhelp_keyfilter(int ch)
switch (ch)
{
case ':':
- display_notes();
- return -1;
+ // If the game has begun, show notes.
+ if (crawl_state.need_save)
+ {
+ display_notes();
+ return -1;
+ }
+ // fall through
default:
return ch;
}