mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-debug-bots-while-paused' into 'master'
debugbots: do not spawn prediction mobjs while game is paused Closes #892 See merge request KartKrew/Kart!1815
This commit is contained in:
commit
344d8d9642
1 changed files with 1 additions and 1 deletions
|
|
@ -1854,7 +1854,7 @@ static void K_BuildBotTiccmdNormal(const player_t *player, ticcmd_t *cmd)
|
|||
// Free the prediction we made earlier
|
||||
if (predict != nullptr)
|
||||
{
|
||||
if (cv_kartdebugbots.value != 0 && player - players == displayplayers[0])
|
||||
if (cv_kartdebugbots.value != 0 && player - players == displayplayers[0] && !(paused || P_AutoPause()))
|
||||
{
|
||||
K_DrawPredictionDebug(predict, player);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue