mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Challenges screen: Always digest pendingkeyrounds when running out of things to look at
Without this commit, if you didn't unlock a Chao Key, it would always handle unlocks, then when you returned to the menu a second time digest any pending key rounds. (Chao Key earning was always correct.)
This commit is contained in:
parent
78b4b6f5ec
commit
0708c282fc
1 changed files with 6 additions and 0 deletions
|
|
@ -397,6 +397,12 @@ void M_ChallengesTick(void)
|
||||||
// We got one!
|
// We got one!
|
||||||
M_ChallengesAutoFocus(newunlock, false);
|
M_ChallengesAutoFocus(newunlock, false);
|
||||||
}
|
}
|
||||||
|
else if (gamedata->pendingkeyrounds > 0
|
||||||
|
&& (gamedata->chaokeys < GDMAX_CHAOKEYS))
|
||||||
|
{
|
||||||
|
// Get ready to finish with pending chao key round tallying.
|
||||||
|
challengesmenu.chaokeyadd = true;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// All done! Let's save the unlocks we've busted open.
|
// All done! Let's save the unlocks we've busted open.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue