Update Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs
Co-authored-by: Remie Richards <remierichards@gmail.com>
This commit is contained in:
@@ -138,20 +138,13 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Steering
|
|||||||
switch (request.Item2.Status)
|
switch (request.Item2.Status)
|
||||||
{
|
{
|
||||||
case JobStatus.Pending:
|
case JobStatus.Pending:
|
||||||
|
case JobStatus.Finished:
|
||||||
break;
|
break;
|
||||||
case JobStatus.Running:
|
case JobStatus.Running:
|
||||||
request.Item1.Cancel();
|
|
||||||
break;
|
|
||||||
case JobStatus.Paused:
|
case JobStatus.Paused:
|
||||||
request.Item1.Cancel();
|
|
||||||
break;
|
|
||||||
case JobStatus.Waiting:
|
case JobStatus.Waiting:
|
||||||
request.Item1.Cancel();
|
request.Item1.Cancel();
|
||||||
break;
|
break;
|
||||||
case JobStatus.Finished:
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new ArgumentOutOfRangeException();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (request.Item2.Exception)
|
switch (request.Item2.Exception)
|
||||||
|
|||||||
Reference in New Issue
Block a user