Include map.png into uid generation
This commit is contained in:
committed by
Matthias Mailänder
parent
bcf4ff3b7c
commit
c40675cfba
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user