Remove superflous warning as null is a valid value here.
This commit is contained in:
committed by
teinarss
parent
06ad9666e8
commit
336656e8f7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user