Add MAPINFO NoAutoSaveOnEnter - this fully disables autosaves when a map is just entered (ignoring the user's autosave preference).
This commit is contained in:
parent
d09d5e0715
commit
044279960c
4 changed files with 9 additions and 0 deletions
|
|
@ -1509,6 +1509,12 @@ void FLevelLocals::DoLoadLevel(const FString &nextmapname, int position, bool au
|
|||
DoDeferedScripts (); // [RH] Do script actions that were triggered on another map.
|
||||
|
||||
|
||||
// [Nash] allow modder control of autosaving
|
||||
if (flags9 & LEVEL9_NOAUTOSAVEONENTER)
|
||||
{
|
||||
autosave = false;
|
||||
}
|
||||
|
||||
// [RH] Always save the game when entering a new
|
||||
if (autosave && !savegamerestore && disableautosave < 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue