diff --git a/Fika.Core/Coop/Custom/FikaDynamicAI.cs b/Fika.Core/Coop/Custom/FikaDynamicAI.cs index d263fe26..827c08cb 100644 --- a/Fika.Core/Coop/Custom/FikaDynamicAI.cs +++ b/Fika.Core/Coop/Custom/FikaDynamicAI.cs @@ -118,6 +118,8 @@ private void DeactivateBot(CoopBot bot) bot.AIData.BotOwner.DecisionQueue.Clear(); bot.AIData.BotOwner.Memory.GoalEnemy = null; bot.AIData.BotOwner.PatrollingData.Pause(); + bot.AIData.BotOwner.ShootData.EndShoot(); + bot.ActiveHealthController.PauseAllEffects(); bot.gameObject.SetActive(false); if (!disabledBots.Contains(bot)) @@ -138,6 +140,7 @@ private void ActivateBot(CoopBot bot) bot.gameObject.SetActive(true); bot.AIData.BotOwner.PatrollingData.Unpause(); bot.AIData.BotOwner.PostActivate(); + bot.ActiveHealthController.UnpauseAllEffects(); disabledBots.Remove(bot); }