Fix IDE0120
This commit is contained in:
committed by
Pavel Penev
parent
ede5412526
commit
bf960b6eae
@@ -748,7 +748,7 @@ namespace OpenRA
|
||||
public byte[] SavePreview()
|
||||
{
|
||||
var actorTypes = Rules.Actors.Values.Where(a => a.HasTraitInfo<IMapPreviewSignatureInfo>());
|
||||
var actors = ActorDefinitions.Where(a => actorTypes.Where(ai => ai.Name == a.Value.Value).Any());
|
||||
var actors = ActorDefinitions.Where(a => actorTypes.Any(ai => ai.Name == a.Value.Value));
|
||||
var positions = new List<(MPos Position, Color Color)>();
|
||||
foreach (var actor in actors)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user