save vanilla save when switching to modified savegame
also add check so we dont rerun this everytime setgamemodified is called
This commit is contained in:
1 parent
bb7c217ccc
commit
e2e356d0c2
1 file changed
+6
@@ -604,6 +604,12 @@ static void G_SetSaveGameModified(void)
|
||||
{
|
||||
size_t filenamelen;
|
||||
|
||||
if (savemoddata)
|
||||
return;
|
||||
|
||||
// save vanilla data just to be sure
|
||||
G_SaveGameData(true);
|
||||
|
||||
savemoddata = true;
|
||||
|
||||
strlcpy(gamedatafilename, "modkartdata.dat", sizeof (gamedatafilename));
|
||||
|
||||
Reference in new issue
Block a user