Skip to content

Commit

Permalink
#448: reduced force-stay ai hint to 0.5s before expire.
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Aug 31, 2024
1 parent 92e6a89 commit cc781f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public override void Update()

public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints)
{
if (Requirements[slot] == Requirement.Stay)
if (_expire[slot] != default && (_expire[slot] - WorldState.CurrentTime).TotalSeconds < 0.5f)
hints.ForcedMovement = new();
}

Expand Down

0 comments on commit cc781f1

Please sign in to comment.