Fix warnings and code cleanup/fixes (#13570)
This commit is contained in:
@@ -3,9 +3,9 @@ namespace Content.Server.NPC.Components;
|
||||
[RegisterComponent]
|
||||
public sealed class NPCPathfindPointComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Next point for the NPC to head to.
|
||||
/// </summary>
|
||||
// /// <summary>
|
||||
// /// Next point for the NPC to head to.
|
||||
// /// </summary>
|
||||
// [ViewVariables(VVAccess.ReadWrite), DataField("nextPoint")]
|
||||
// public EntityUid? NextPoint;
|
||||
}
|
||||
|
||||
@@ -566,8 +566,6 @@ public sealed partial class PathfindingSystem
|
||||
start = new Vector2i(nextX, nextY);
|
||||
data = points[x * SubStep + nextX, y * SubStep + nextY].Data;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user