Skip to content

Commit

Permalink
Merge pull request #472 from FFXIV-CombatReborn/mergeWIP
Browse files Browse the repository at this point in the history
code analyzer bs
  • Loading branch information
CarnifexOptimus authored Nov 28, 2024
2 parents b419ebf + a2da2fa commit 29dfc18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BossMod/AI/AIBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public async Task Execute(Actor player, Actor master)
{
var actorTarget = autorot.WorldState.Actors.Find(player.TargetID);
(var naviDecision, target) = followTarget && actorTarget != null
? await BuildNavigationDecision(player, actorTarget, target)
: await BuildNavigationDecision(player, master, target);
? await BuildNavigationDecision(player, actorTarget, target).ConfigureAwait(true)
: await BuildNavigationDecision(player, master, target).ConfigureAwait(true);
_naviDecision = naviDecision;

// There is a difference between having a small positive leeway and having a negative one for pathfinding, prefer to keep positive
Expand Down

0 comments on commit 29dfc18

Please sign in to comment.