Fix IDE0090

This commit is contained in:
RoosterDragon
2023-11-14 19:49:11 +00:00
committed by Gustas
parent cfde0d7867
commit b97d1a4c6c
35 changed files with 125 additions and 125 deletions

View File

@@ -137,8 +137,8 @@ namespace OpenRA.Mods.Common.Traits.BotModules.Squads
{
var nodes = new List<MiniYamlNode>()
{
new MiniYamlNode("Type", FieldSaver.FormatValue(Type)),
new MiniYamlNode("Units", FieldSaver.FormatValue(Units.Select(a => a.ActorID).ToArray()))
new("Type", FieldSaver.FormatValue(Type)),
new("Units", FieldSaver.FormatValue(Units.Select(a => a.ActorID).ToArray()))
};
if (Target != Target.Invalid)