Remove superflous warning as null is a valid value here.

This commit is contained in:
Matthias Mailänder
2020-04-27 17:06:20 +02:00
committed by teinarss
parent 06ad9666e8
commit 336656e8f7

View File

@@ -82,7 +82,12 @@ namespace OpenRA.Mods.Common.Lint
{
if (string.IsNullOrEmpty(imageOverride))
{
emitWarning("Custom sprite image of actor {0} is null.".F(actorInfo.Value.Name));
foreach (var sequenceProvider in sequenceProviders)
{
var image = renderInfo.GetImage(actorInfo.Value, sequenceProvider, faction);
CheckDefinitions(image, sequenceReference, actorInfo, sequence, faction, field, traitInfo);
}
continue;
}