Fix IDE0056

This commit is contained in:
RoosterDragon
2023-04-05 19:09:23 +01:00
committed by Pavel Penev
parent 4ec5a4b34a
commit 5254348819
15 changed files with 28 additions and 28 deletions

View File

@@ -39,9 +39,9 @@ namespace OpenRA.Mods.Common.UtilityCommands
if (args.Contains("--noshadow"))
{
Array.Resize(ref shadowIndex, shadowIndex.Length + 3);
shadowIndex[shadowIndex.Length - 1] = 1;
shadowIndex[shadowIndex.Length - 2] = 3;
shadowIndex[shadowIndex.Length - 3] = 4;
shadowIndex[^1] = 1;
shadowIndex[^2] = 3;
shadowIndex[^3] = 4;
}
var palette = new ImmutablePalette(args[2], new[] { 0 }, shadowIndex);