Skip to content

Commit

Permalink
Update Map.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZivDero committed Aug 13, 2023
1 parent 86138ab commit 32e46a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/TSMapEditor/Models/Map.cs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ public void AddWaypoint(Waypoint waypoint)
var cell = GetTile(waypoint.Position.X, waypoint.Position.Y);
if (cell.Waypoints.Count > 0)
{
//throw new InvalidOperationException($"Cell at {cell.CoordsToPoint()} already has a waypoint, skipping adding waypoint {waypoint.Identifier}");
Logger.Log($"NOTE: Waypoint {waypoint.Identifier} exists in the cell {cell.CoordsToPoint()} that already has other waypoints.");
}

Expand Down

0 comments on commit 32e46a3

Please sign in to comment.