.Any(), .Count() -> .Count or .Length
This commit is contained in:
committed by
atlimit8
parent
6eb4fe8980
commit
79f321cb44
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
IEnumerable<EditorActorOption> IEditorActorOptions.ActorOptions(ActorInfo ai, World world)
|
||||
{
|
||||
if (!EditorOptions.Any())
|
||||
if (EditorOptions.Count == 0)
|
||||
yield break;
|
||||
|
||||
// Make sure the no-plug option is always available
|
||||
|
||||
Reference in New Issue
Block a user