Fix two outdated comments.

This commit is contained in:
Paul Chote
2021-02-20 15:41:16 +00:00
committed by reaperrr
parent a90e6940ab
commit 7694d0842b
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ namespace OpenRA.Mods.Common.Traits
}
}
// All resources must share a sheet and blend mode
// All resources must share a blend mode
var sprites = r.Value.Variants.Values.SelectMany(v => Exts.MakeArray(v.Length, x => v.GetSprite(x)));
if (sprites.Any(s => s.BlendMode != spriteLayer.BlendMode))
throw new InvalidDataException("Resource sprites specify different blend modes. "