Skip to content

Commit

Permalink
Merge pull request #437 from FFXIV-CombatReborn/mergeWIP
Browse files Browse the repository at this point in the history
fixed AI autorotation bug
  • Loading branch information
CarnifexOptimus authored Nov 15, 2024
2 parents f5278bb + e9f182e commit d5e61ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BossMod/AI/AIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit d5e61ec

Please sign in to comment.