From 6fb7bb1c0893e113a089f933955637f4e99a4164 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Mon, 30 Oct 2023 16:15:37 +0100 Subject: [PATCH] Silence warnings about multiple enumerations in AIUtils This method only every receives a list as parameter --- OpenRA.Mods.Common/AIUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/AIUtils.cs b/OpenRA.Mods.Common/AIUtils.cs index ec90bed688..4c5895d584 100644 --- a/OpenRA.Mods.Common/AIUtils.cs +++ b/OpenRA.Mods.Common/AIUtils.cs @@ -74,7 +74,7 @@ namespace OpenRA.Mods.Common TextNotificationsManager.Debug(format, args); } - public static IEnumerable ClearBlockersOrders(IEnumerable tiles, Player owner, Actor ignoreActor = null) + public static IEnumerable ClearBlockersOrders(List tiles, Player owner, Actor ignoreActor = null) { var world = owner.World; var adjacentTiles = Util.ExpandFootprint(tiles, true).Except(tiles)