From ed5d81271b3e9192423ee4bd94c037e648b89819 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 17 Sep 2023 19:50:48 +0200 Subject: [PATCH] consider LEVEL9_NOAUTOSAVEONENTER unfriendly --- src/g_level.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/g_level.cpp b/src/g_level.cpp index 440dfa9fe7..909b7e3458 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -1525,11 +1525,13 @@ void FLevelLocals::DoLoadLevel(const FString &nextmapname, int position, bool au DoDeferedScripts (); // [RH] Do script actions that were triggered on another map. +#ifdef UNFRIENDLY_OPTIONS // [Nash] allow modder control of autosaving if (flags9 & LEVEL9_NOAUTOSAVEONENTER) { autosave = false; } +#endif // [RH] Always save the game when entering a new if (autosave && !savegamerestore && disableautosave < 1)