consider LEVEL9_NOAUTOSAVEONENTER unfriendly

This commit is contained in:
Christoph Oelckers 2023-09-17 19:50:48 +02:00
parent f3b4c6047e
commit ed5d81271b

View file

@ -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)