Fix IDE0090

This commit is contained in:
RoosterDragon
2023-04-05 19:34:12 +01:00
committed by Pavel Penev
parent 164abfdae1
commit 8a285f9b19
385 changed files with 790 additions and 794 deletions

View File

@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
"ResourceType.PipColor has been removed and resource pip colours are now defined\n" +
"in WithHarvesterPipsDecoration.ResourceSequences.";
static readonly Dictionary<string, string> PipReplacements = new Dictionary<string, string>
static readonly Dictionary<string, string> PipReplacements = new()
{
{ "transparent", "pip-empty" },
{ "green", "pip-green" },
@@ -41,11 +41,11 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
};
bool customPips;
readonly List<string> locations = new List<string>();
readonly List<string> cargoPipLocations = new List<string>();
readonly HashSet<string> cargoCustomPips = new HashSet<string>();
readonly List<string> harvesterPipLocations = new List<string>();
readonly Dictionary<string, string> harvesterCustomPips = new Dictionary<string, string>();
readonly List<string> locations = new();
readonly List<string> cargoPipLocations = new();
readonly HashSet<string> cargoCustomPips = new();
readonly List<string> harvesterPipLocations = new();
readonly Dictionary<string, string> harvesterCustomPips = new();
public override IEnumerable<string> AfterUpdate(ModData modData)
{