Skip to content

Commit

Permalink
Tell waypoint number in "waypoint outside valid map area" error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Jun 16, 2023
1 parent e3d89f1 commit 2435c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TSMapEditor/Initialization/MapLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ public static void ReadWaypoints(IMap map, IniFile mapIni)
var mapCell = map.GetTile(waypoint.Position.X, waypoint.Position.Y);
if (mapCell == null)
{
AddMapLoadError($"Waypoint at {waypoint.Position} is not within the valid map area");
AddMapLoadError($"Waypoint {waypoint.Identifier} at {waypoint.Position} is not within the valid map area.");
continue;
}

Expand Down

0 comments on commit 2435c10

Please sign in to comment.