Fix NPC door prying (#15605)

This commit is contained in:
metalgearsloth
2023-04-21 15:05:29 +10:00
committed by GitHub
parent 2744ef81d8
commit e780c6a98a
7 changed files with 40 additions and 15 deletions

View File

@@ -133,8 +133,10 @@ public sealed partial class NPCSteeringSystem
switch (status)
{
case SteeringObstacleStatus.Completed:
steering.DoAfterId = null;
break;
case SteeringObstacleStatus.Failed:
steering.DoAfterId = null;
// TODO: Blacklist the poly for next query
steering.Status = SteeringStatus.NoPath;
return false;