prevent a checkpoint from executing too early

This commit is contained in:
nhmall
2026-05-22 12:25:13 -04:00
parent a1fad59f2d
commit e394dc341b
+3
View File
@@ -1376,6 +1376,9 @@ save_currentstate(void)
{
NHFILE *nhfp;
if (!program_state.something_worth_saving)
return;
program_state.in_checkpoint++;
if (flags.ins_chkpt) {
/* write out just-attained level, with pets and everything */