From e9f182e79d4f0d28f182f13243e7eb6b4f588969 Mon Sep 17 00:00:00 2001 From: CarnifexOptimus <156172553+CarnifexOptimus@users.noreply.github.com> Date: Fri, 15 Nov 2024 13:53:19 +0100 Subject: [PATCH] fixed AI autorotation bug --- BossMod/AI/AIManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BossMod/AI/AIManager.cs b/BossMod/AI/AIManager.cs index 9c20f2ef04..1bc3226c64 100644 --- a/BossMod/AI/AIManager.cs +++ b/BossMod/AI/AIManager.cs @@ -77,7 +77,7 @@ public void SwitchToFollow(int masterSlot) { SwitchToIdle(); MasterSlot = WorldState.Party[masterSlot]?.Name == null ? 0 : masterSlot; - Beh = new AIBehaviour(Controller, Autorot, AiPreset); + Beh = new AIBehaviour(Controller, Autorot, Autorot.Database.Presets.VisiblePresets.FirstOrDefault(p => p.Name == _config.AIAutorotPresetName)); _wndAI.UpdateTitle(); }