diff --git a/src/k_bot.c b/src/k_bot.c index 98bf8c88f..06cc737b6 100644 --- a/src/k_bot.c +++ b/src/k_bot.c @@ -1452,7 +1452,7 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd) } } - if (spindash == 0) + if (spindash == 0 && player->exiting == 0) { // Don't pointlessly try to use rings/sneakers while charging a spindash. // TODO: Allowing projectile items like orbinaut while e-braking would be nice, maybe just pass in the spindash variable? diff --git a/src/k_botitem.c b/src/k_botitem.c index abbba7ba6..c7c852571 100644 --- a/src/k_botitem.c +++ b/src/k_botitem.c @@ -1322,7 +1322,7 @@ void K_BotItemUsage(player_t *player, ticcmd_t *cmd, INT16 turnamt) { // Use rings! - if (leveltime > starttime && !player->exiting) + if (leveltime > starttime) { K_BotItemRings(player, cmd); }