mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-29 12:40:40 +00:00
Turns out modifiedgame was getting set during startup because of making it use G_SetGameModified. Uh, woops?
This commit is contained in:
parent
dda94e4498
commit
15aafb00a9
2 changed files with 1 additions and 2 deletions
|
@ -1253,7 +1253,6 @@ void D_SRB2Main(void)
|
|||
#endif //ifndef DEVELOP
|
||||
|
||||
mainwadstally = packetsizetally;
|
||||
majormods = false;
|
||||
|
||||
cht_Init();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue