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

@@ -148,7 +148,7 @@ namespace OpenRA.Mods.Common
}
if (items.Length > 0)
yield return items[items.Length - 1];
yield return items[^1];
}
static IEnumerable<CPos> Neighbours(CPos c, bool allowDiagonal)