diff --git a/OpenRA.Mods.RA/SupportPowers/AirstrikePower.cs b/OpenRA.Mods.RA/SupportPowers/AirstrikePower.cs index 6c88987efd..22b13d3035 100644 --- a/OpenRA.Mods.RA/SupportPowers/AirstrikePower.cs +++ b/OpenRA.Mods.RA/SupportPowers/AirstrikePower.cs @@ -106,6 +106,15 @@ namespace OpenRA.Mods.RA } camera = null; + + if (beacon != null) + { + self.World.AddFrameEndTask(w => + { + w.Remove(beacon); + beacon = null; + }); + } } }; diff --git a/OpenRA.Mods.RA/SupportPowers/ParatroopersPower.cs b/OpenRA.Mods.RA/SupportPowers/ParatroopersPower.cs index a0358cd46d..25c8281b7a 100644 --- a/OpenRA.Mods.RA/SupportPowers/ParatroopersPower.cs +++ b/OpenRA.Mods.RA/SupportPowers/ParatroopersPower.cs @@ -115,6 +115,15 @@ namespace OpenRA.Mods.RA } camera = null; + + if (beacon != null) + { + self.World.AddFrameEndTask(w => + { + w.Remove(beacon); + beacon = null; + }); + } } };