Fix IDE0350

This commit is contained in:
RoosterDragon
2025-11-11 18:34:59 +00:00
committed by Gustas Kažukauskas
parent af326bfeb8
commit 24c19f64c9
3 changed files with 6 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ namespace OpenRA.Mods.Common.Traits.BotModules.Squads
static float RelativeSpeed(IReadOnlyCollection<Actor> own, IReadOnlyCollection<Actor> enemy)
{
return RelativeValue(own, enemy, 100, Average<MobileInfo>, (Actor a) => a.Info.TraitInfo<MobileInfo>().Speed);
return RelativeValue(own, enemy, 100, Average<MobileInfo>, a => a.Info.TraitInfo<MobileInfo>().Speed);
}
static float RelativeValue(IReadOnlyCollection<Actor> own, IReadOnlyCollection<Actor> enemy, float normalizeByValue,