mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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
88dc2569e4
commit
0eca0e6613
2 changed files with 1 additions and 2 deletions
|
|
@ -1253,7 +1253,6 @@ void D_SRB2Main(void)
|
||||||
#endif //ifndef DEVELOP
|
#endif //ifndef DEVELOP
|
||||||
|
|
||||||
mainwadstally = packetsizetally;
|
mainwadstally = packetsizetally;
|
||||||
majormods = false;
|
|
||||||
|
|
||||||
cht_Init();
|
cht_Init();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -756,7 +756,7 @@ void G_SetNightsRecords(void)
|
||||||
// for consistency among messages: this modifies the game and removes savemoddata.
|
// for consistency among messages: this modifies the game and removes savemoddata.
|
||||||
void G_SetGameModified(boolean silent, boolean major)
|
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;
|
return;
|
||||||
|
|
||||||
modifiedgame = true;
|
modifiedgame = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue