Add readonly where it is missing and fix those field names according to their modifiers (#2589)
This commit is contained in:
@@ -15,9 +15,9 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Pathfinding.Pathfinders
|
||||
public static event Action<SharedAiDebug.AStarRouteDebug> DebugRoute;
|
||||
#endif
|
||||
|
||||
private PathfindingNode _startNode;
|
||||
private readonly PathfindingNode _startNode;
|
||||
private PathfindingNode _endNode;
|
||||
private PathfindingArgs _pathfindingArgs;
|
||||
private readonly PathfindingArgs _pathfindingArgs;
|
||||
|
||||
public AStarPathfindingJob(
|
||||
double maxTime,
|
||||
|
||||
@@ -19,9 +19,9 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Pathfinding.Pathfinders
|
||||
public static event Action<SharedAiDebug.JpsRouteDebug> DebugRoute;
|
||||
#endif
|
||||
|
||||
private PathfindingNode _startNode;
|
||||
private readonly PathfindingNode _startNode;
|
||||
private PathfindingNode _endNode;
|
||||
private PathfindingArgs _pathfindingArgs;
|
||||
private readonly PathfindingArgs _pathfindingArgs;
|
||||
|
||||
public JpsPathfindingJob(double maxTime,
|
||||
PathfindingNode startNode,
|
||||
|
||||
Reference in New Issue
Block a user