diff --git a/OpenRA.Game/Map/Map.cs b/OpenRA.Game/Map/Map.cs index 06644b43dc..24be905584 100644 --- a/OpenRA.Game/Map/Map.cs +++ b/OpenRA.Game/Map/Map.cs @@ -302,7 +302,7 @@ namespace OpenRA return FieldLoader.GetValue("MapFormat", search.Groups[1].Value); } - throw new InvalidDataException($"MapFormat is not defined\n File: {p.Name}"); + throw new InvalidDataException("MapFormat is not defined"); } ///