Allow ZScript to control saving and the automap

This commit is contained in:
nashmuhandes 2023-04-09 03:52:58 +08:00
commit 8204879ff8
9 changed files with 68 additions and 0 deletions

View file

@ -2196,6 +2196,9 @@ CUSTOM_CVAR (Int, quicksaverotationcount, 4, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
void G_DoAutoSave ()
{
if ((primaryLevel->flags9 & LEVEL9_NOUSERSAVE))
return;
FString description;
FString file;
// Keep up to four autosaves at a time