Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly string[] Units = Array.Empty<string>();
|
||||
|
||||
[Desc("Factions that are allowed to trigger this action.")]
|
||||
public readonly HashSet<string> ValidFactions = new HashSet<string>();
|
||||
public readonly HashSet<string> ValidFactions = new();
|
||||
|
||||
[Desc("Override the owner of the newly spawned unit: e.g. Creeps or Neutral")]
|
||||
public readonly string Owner = null;
|
||||
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
readonly Actor self;
|
||||
readonly GiveUnitCrateActionInfo info;
|
||||
readonly List<CPos> usedCells = new List<CPos>();
|
||||
readonly List<CPos> usedCells = new();
|
||||
|
||||
public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
|
||||
: base(self, info)
|
||||
|
||||
Reference in New Issue
Block a user