.Any(), .Count() -> .Count or .Length
This commit is contained in:
committed by
atlimit8
parent
6eb4fe8980
commit
79f321cb44
@@ -68,7 +68,7 @@ namespace OpenRA.Mods.Common.Traits.BotModules.Squads
|
||||
FuzzyStateMachine.Update(this);
|
||||
}
|
||||
|
||||
public bool IsValid => Units.Any();
|
||||
public bool IsValid => Units.Count > 0;
|
||||
|
||||
public Actor TargetActor
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user