Include map.png into uid generation

This commit is contained in:
Gustas
2022-01-21 00:03:43 +02:00
committed by Matthias Mailänder
parent bcf4ff3b7c
commit c40675cfba
3 changed files with 28 additions and 8 deletions

View File

@@ -28,8 +28,8 @@ namespace OpenRA.Mods.Common.Lint
void Run(Action<string> emitError, int mapFormat, string author, string title, string[] categories)
{
if (mapFormat != Map.SupportedMapFormat)
emitError($"Map format {mapFormat} does not match the supported version {Map.SupportedMapFormat}.");
if (mapFormat < Map.SupportedMapFormat)
emitError($"Map format {mapFormat} does not match the supported version {Map.CurrentMapFormat}.");
if (author == null)
emitError("Map does not define a valid author.");