mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-24 08:52:33 +00:00
Save gamedata once all pending unlocks have been updated
This commit is contained in:
parent
5ba1d4c197
commit
f0e5e1b71a
1 changed files with 3 additions and 0 deletions
|
|
@ -6831,7 +6831,10 @@ void M_ChallengesTick(void)
|
|||
if (challengesmenu.pending && challengesmenu.currentunlock >= MAXUNLOCKABLES)
|
||||
{
|
||||
if ((challengesmenu.currentunlock = M_GetNextAchievedUnlock(true)) >= MAXUNLOCKABLES)
|
||||
{
|
||||
challengesmenu.pending = false;
|
||||
G_SaveGameData();
|
||||
}
|
||||
}
|
||||
else if (challengesmenu.unlockanim >= UNLOCKTIME)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue