Avoid NPCs getting stuck around tables (#14807)

This commit is contained in:
metalgearsloth
2023-03-23 23:53:17 +11:00
committed by GitHub
parent 16cebe6601
commit b5a33ea7ab
4 changed files with 47 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ public sealed class NPCSteeringComponent : Component
[DataField("lastStuckTime", customTypeSerializer:typeof(TimeOffsetSerializer))]
public TimeSpan LastStuckTime;
public const float StuckDistance = 0.5f;
public const float StuckDistance = 1f;
/// <summary>
/// Have we currently requested a path.