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:
parent
443e899759
commit
66c5beccbd
8 changed files with 52 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue