Remove the filename from the undefined MapFormat exception

This commit is contained in:
abcdefg30
2022-10-13 22:47:53 +02:00
committed by Matthias Mailänder
parent 40e207200a
commit 95c0846ced

View File

@@ -302,7 +302,7 @@ namespace OpenRA
return FieldLoader.GetValue<int>("MapFormat", search.Groups[1].Value);
}
throw new InvalidDataException($"MapFormat is not defined\n File: {p.Name}");
throw new InvalidDataException("MapFormat is not defined");
}
/// <summary>