diff --git a/OpenRA.Mods.Common/Traits/Turreted.cs b/OpenRA.Mods.Common/Traits/Turreted.cs index e04417e1f0..05edf3cd17 100644 --- a/OpenRA.Mods.Common/Traits/Turreted.cs +++ b/OpenRA.Mods.Common/Traits/Turreted.cs @@ -158,7 +158,7 @@ namespace OpenRA.Mods.Common.Traits public void StopAiming(Actor self) { - if (attack.IsAiming) + if (attack != null && attack.IsAiming) attack.OnStopOrder(self); }