Turns out modifiedgame was getting set during startup because of making it use G_SetGameModified. Uh, woops?

This commit is contained in:
toaster 2019-01-18 13:01:40 +00:00
parent dda94e4498
commit 15aafb00a9
2 changed files with 1 additions and 2 deletions

View file

@ -1253,7 +1253,6 @@ void D_SRB2Main(void)
#endif //ifndef DEVELOP
mainwadstally = packetsizetally;
majormods = false;
cht_Init();

View file

@ -756,7 +756,7 @@ void G_SetNightsRecords(void)
// for consistency among messages: this modifies the game and removes savemoddata.
void G_SetGameModified(boolean silent, boolean major)
{
if ((majormods && modifiedgame && !savemoddata) || (refreshdirmenu & REFRESHDIR_GAMEDATA)) // new gamedata amnesty?
if ((majormods && modifiedgame && !savemoddata) || !mainwads || (refreshdirmenu & REFRESHDIR_GAMEDATA)) // new gamedata amnesty?
return;
modifiedgame = true;