Fix Air Squad danger detection broken in RA

This commit is contained in:
dnqbob
2023-09-10 19:12:32 +08:00
committed by Gustas
parent 38ed21edd2
commit 24536fa296
3 changed files with 11 additions and 7 deletions

View File

@@ -47,6 +47,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Own actor types that are prioritized when defending.")]
public readonly HashSet<string> ProtectionTypes = new();
[Desc("Target types are used for identifying aircraft.")]
public readonly BitSet<TargetableType> AircraftTargetType = new("Air");
[Desc("Minimum number of units AI must have before attacking.")]
public readonly int SquadSize = 8;