Update Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs

Co-authored-by: Remie Richards <remierichards@gmail.com>
This commit is contained in:
metalgearsloth
2020-07-09 00:03:48 +10:00
committed by GitHub
parent 8678d867cf
commit b4adfbc15a

View File

@@ -138,20 +138,13 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Steering
switch (request.Item2.Status)
{
case JobStatus.Pending:
case JobStatus.Finished:
break;
case JobStatus.Running:
request.Item1.Cancel();
break;
case JobStatus.Paused:
request.Item1.Cancel();
break;
case JobStatus.Waiting:
request.Item1.Cancel();
break;
case JobStatus.Finished:
break;
default:
throw new ArgumentOutOfRangeException();
}
switch (request.Item2.Exception)
@@ -691,4 +684,4 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Steering
Arrived,
Moving,
}
}
}