mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make what's going on with K_RetireBots in Y_Ticker/Y_EndIntermission more explicit, in case we add anything else here later.
This commit is contained in:
parent
9f4ced146a
commit
a22d3b201d
1 changed files with 6 additions and 2 deletions
|
|
@ -680,10 +680,10 @@ void Y_Ticker(void)
|
||||||
|
|
||||||
if (intertype == int_race || intertype == int_battle || intertype == int_battletime)
|
if (intertype == int_race || intertype == int_battle || intertype == int_battletime)
|
||||||
{
|
{
|
||||||
//if (!(multiplayer && demo.playback)) // Don't advance to rankings in replays
|
|
||||||
{
|
{
|
||||||
if (!data.rankingsmode && sorttic != -1 && (intertic >= sorttic + 8))
|
if (!data.rankingsmode && sorttic != -1 && (intertic >= sorttic + 8))
|
||||||
{
|
{
|
||||||
|
// Anything with post-intermission consequences here should also occur in Y_EndIntermission.
|
||||||
K_RetireBots();
|
K_RetireBots();
|
||||||
Y_CalculateMatchData(1, Y_CompareRank);
|
Y_CalculateMatchData(1, Y_CompareRank);
|
||||||
}
|
}
|
||||||
|
|
@ -905,7 +905,11 @@ void Y_StartIntermission(void)
|
||||||
//
|
//
|
||||||
void Y_EndIntermission(void)
|
void Y_EndIntermission(void)
|
||||||
{
|
{
|
||||||
K_RetireBots();
|
if (!data.rankingsmode)
|
||||||
|
{
|
||||||
|
K_RetireBots();
|
||||||
|
}
|
||||||
|
|
||||||
Y_UnloadData();
|
Y_UnloadData();
|
||||||
|
|
||||||
endtic = -1;
|
endtic = -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue