Fix IDE0056
This commit is contained in:
committed by
Pavel Penev
parent
4ec5a4b34a
commit
5254348819
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user