summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console_cmds.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index d2717ff28..7030d9a8e 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1079,6 +1079,8 @@ DEF_CONSOLE_CMD(ConExit)
return true;
}
+ if (_game_mode == GM_NORMAL && _patches.autosave_on_exit) DoExitSave();
+
_exit_game = true;
return true;
}