Fix IDE0039
This commit is contained in:
@@ -207,7 +207,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public MiniYaml Save()
|
||||
{
|
||||
Func<object, bool> saveInit = init =>
|
||||
bool SaveInit(ActorInit init)
|
||||
{
|
||||
if (init is FactionInit factionInit && factionInit.Value == Owner.Faction)
|
||||
return false;
|
||||
@@ -218,9 +218,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
// TODO: Other default values will need to be filtered
|
||||
// here after we have built a properties panel
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
||||
return reference.Save(saveInit);
|
||||
return reference.Save(SaveInit);
|
||||
}
|
||||
|
||||
WPos PreviewPosition(World world, ActorReference actor)
|
||||
|
||||
Reference in New Issue
Block a user