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

@@ -320,7 +320,7 @@ namespace OpenRA
if (yaml.TryGetValue("MapFormat", out var temp))
{
var format = FieldLoader.GetValue<int>("MapFormat", temp.Value);
if (format != Map.SupportedMapFormat)
if (format < Map.SupportedMapFormat)
throw new InvalidDataException($"Map format {format} is not supported.");
}