Fix IDE0004

This commit is contained in:
RoosterDragon
2023-02-19 09:55:33 +00:00
committed by Gustas
parent a4f9ceaf09
commit 71ce515d6d
12 changed files with 16 additions and 13 deletions

View File

@@ -181,7 +181,7 @@ namespace OpenRA.Mods.Common.Traits.BotModules.Squads
return !double.IsNaN(attackChance) && attackChance < 30.0;
}
static float NormalizedHealth(IEnumerable<Actor> actors, float normalizeByValue)
static float NormalizedHealth(IEnumerable<Actor> actors, int normalizeByValue)
{
var sumOfMaxHp = 0;
var sumOfHp = 0;