From 5a686b32890ee50e3e6bc1a7a7aba6c9ef15938d Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 15 Dec 2019 11:52:52 +0000 Subject: [PATCH] Fix duplicated/distorted SequencePlaceBuildingPreview annotations. --- .../Traits/Buildings/SequencePlaceBuildingPreview.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Buildings/SequencePlaceBuildingPreview.cs b/OpenRA.Mods.Common/Traits/Buildings/SequencePlaceBuildingPreview.cs index 6f3104f841..5bfe974604 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/SequencePlaceBuildingPreview.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/SequencePlaceBuildingPreview.cs @@ -82,9 +82,6 @@ namespace OpenRA.Mods.Common.Traits protected override IEnumerable RenderInner(WorldRenderer wr, CPos topLeft, Dictionary footprint) { - foreach (var r in RenderAnnotations(wr, topLeft)) - yield return r; - if (info.FootprintUnderPreview != PlaceBuildingCellType.None) foreach (var r in RenderFootprint(wr, topLeft, footprint, info.FootprintUnderPreview)) yield return r;