Avoid or reduce LINQ allocations required in various areas.
This commit is contained in:
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (IsTraitDisabled)
|
||||
return;
|
||||
|
||||
if (!captorOwners.Any())
|
||||
if (captorOwners.Count == 0)
|
||||
{
|
||||
tick = 0;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user