diff --git a/OpenRA.Mods.RA/Harvester.cs b/OpenRA.Mods.RA/Harvester.cs index 3d5ab4fbe9..cb12f4922e 100644 --- a/OpenRA.Mods.RA/Harvester.cs +++ b/OpenRA.Mods.RA/Harvester.cs @@ -166,7 +166,7 @@ namespace OpenRA.Mods.RA // I'm blocking someone else from moving to my location: Activity act = self.GetCurrentActivity(); // If I'm just waiting around then get out of the way: - if (act.GetType() == typeof(Wait)) + if (act == null || act.GetType() == typeof(Wait)) { self.CancelActivity(); var mobile = self.Trait();