No hangup save while in tutorial

Tutorial code doesn't handle saving and reloading the game gracefully,
and manually saving has been disabled in there already.
Also disable automatic saving in the tutorial when the terminal goes away.
This commit is contained in:
Pasi Kallinen
2025-02-10 17:47:57 +02:00
parent 10e5d2121c
commit d1f0cfce92

View File

@@ -4924,6 +4924,9 @@ end_of_input(void)
program_state.something_worth_saving = 0; /* don't save */
#endif
if (In_tutorial(&u.uz))
program_state.something_worth_saving = 0; /* don't save in tutorial */
#ifndef SAFERHANGUP
if (!program_state.done_hup++)
#endif