Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -22,10 +22,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
[Desc("Actor types that are considered harvesters. If harvester count drops below RefineryTypes count, a new harvester is built.",
|
||||
"Leave empty to disable harvester replacement. Currently only needed by harvester replacement system.")]
|
||||
public readonly HashSet<string> HarvesterTypes = new HashSet<string>();
|
||||
public readonly HashSet<string> HarvesterTypes = new();
|
||||
|
||||
[Desc("Actor types that are counted as refineries. Currently only needed by harvester replacement system.")]
|
||||
public readonly HashSet<string> RefineryTypes = new HashSet<string>();
|
||||
public readonly HashSet<string> RefineryTypes = new();
|
||||
|
||||
[Desc("Interval (in ticks) between giving out orders to idle harvesters.")]
|
||||
public readonly int ScanForIdleHarvestersInterval = 50;
|
||||
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
readonly World world;
|
||||
readonly Player player;
|
||||
readonly Func<Actor, bool> unitCannotBeOrdered;
|
||||
readonly Dictionary<Actor, HarvesterTraitWrapper> harvesters = new Dictionary<Actor, HarvesterTraitWrapper>();
|
||||
readonly Dictionary<Actor, HarvesterTraitWrapper> harvesters = new();
|
||||
|
||||
IResourceLayer resourceLayer;
|
||||
ResourceClaimLayer claimLayer;
|
||||
|
||||
Reference in New Issue
Block a user