diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs index cca90ca2b2..5dbb0637ae 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/AirstrikePower.cs @@ -223,7 +223,6 @@ namespace OpenRA.Mods.Common.Traits camera.QueueActivity(new Wait(info.CameraRemoveDelay)); camera.QueueActivity(new RemoveSelf()); - camera = null; } void RemoveBeacon(Beacon beacon) @@ -234,7 +233,6 @@ namespace OpenRA.Mods.Common.Traits Self.World.AddFrameEndTask(w => { w.Remove(beacon); - beacon = null; }); } } diff --git a/OpenRA.Mods.Common/Traits/SupportPowers/ParatroopersPower.cs b/OpenRA.Mods.Common/Traits/SupportPowers/ParatroopersPower.cs index bd4448e574..ce9134be49 100644 --- a/OpenRA.Mods.Common/Traits/SupportPowers/ParatroopersPower.cs +++ b/OpenRA.Mods.Common/Traits/SupportPowers/ParatroopersPower.cs @@ -269,7 +269,6 @@ namespace OpenRA.Mods.Common.Traits camera.QueueActivity(new Wait(info.CameraRemoveDelay)); camera.QueueActivity(new RemoveSelf()); - camera = null; } void RemoveBeacon(Beacon beacon) @@ -280,7 +279,6 @@ namespace OpenRA.Mods.Common.Traits Self.World.AddFrameEndTask(w => { w.Remove(beacon); - beacon = null; }); } }