Added UUID for game sessions

Allows the SavegameManager to destroy all saves related to the current UUID session so hardcore mods can enforce this safely instead of needing to go nuclear.
This commit is contained in:
Boondorl 2025-07-20 14:00:05 -04:00 committed by Ricardo Luís Vaz Silva
commit 66c5beccbd
8 changed files with 52 additions and 0 deletions

View file

@ -636,6 +636,7 @@ void G_InitNew (const char *mapname, bool bTitleLevel)
players[i].playerstate = PST_ENTER; // [BC]
STAT_StartNewGame(mapname);
GameUUID = GenerateUUID();
}
usergame = !bTitleLevel; // will be set false if a demo