Unstable 0.15.12.0
This commit is contained in:
@@ -2343,7 +2343,7 @@ namespace Barotrauma
|
||||
}
|
||||
if (steeringManager is IndoorsSteeringManager pathSteering)
|
||||
{
|
||||
if (!pathSteering.IsPathDirty && pathSteering.CurrentPath.Unreachable)
|
||||
if (!pathSteering.IsPathDirty && pathSteering.CurrentPath != null && pathSteering.CurrentPath.Unreachable)
|
||||
{
|
||||
// Can't reach
|
||||
State = AIState.Idle;
|
||||
|
||||
Reference in New Issue
Block a user