Bandaid medibots (#11718)

This commit is contained in:
metalgearsloth
2022-10-13 21:36:29 +11:00
committed by GitHub
parent 8e1d599656
commit fa59983bd9
11 changed files with 67 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ public sealed partial class NPCSteeringSystem
if (!doorQuery.TryGetComponent(ent, out var door))
continue;
if (!door.BumpOpen)
if (!door.BumpOpen && (component.Flags & PathFlags.Interact) != 0x0)
{
if (door.State != DoorState.Opening)
{
@@ -71,6 +71,10 @@ public sealed partial class NPCSteeringSystem
return SteeringObstacleStatus.Continuing;
}
}
else
{
return SteeringObstacleStatus.Failed;
}
}
return SteeringObstacleStatus.Completed;