mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Move where wonround is changed
Might avoid bots from being updated multiple times
This commit is contained in:
parent
241fb0db6c
commit
52d95d3cd7
1 changed files with 2 additions and 3 deletions
|
|
@ -2375,8 +2375,6 @@ static void P_LevelInitStuff(void)
|
|||
|
||||
memset(localaiming, 0, sizeof(localaiming));
|
||||
|
||||
grandprixinfo.wonround = false;
|
||||
|
||||
// special stage tokens, emeralds, and ring total
|
||||
tokenbits = 0;
|
||||
runemeraldmanager = false;
|
||||
|
|
@ -3396,9 +3394,10 @@ boolean P_SetupLevel(boolean skipprecip)
|
|||
K_InitGrandPrixBots();
|
||||
grandprixinfo.initalize = false;
|
||||
}
|
||||
else
|
||||
else if (grandprixinfo.wonround == true)
|
||||
{
|
||||
K_UpdateGrandPrixBots();
|
||||
grandprixinfo.wonround = false;
|
||||
}
|
||||
}
|
||||
else if (!modeattacking)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue