diff --git a/OpenRA.Mods.Common/Traits/Production.cs b/OpenRA.Mods.Common/Traits/Production.cs index bae019d68b..ee8d38a451 100644 --- a/OpenRA.Mods.Common/Traits/Production.cs +++ b/OpenRA.Mods.Common/Traits/Production.cs @@ -126,7 +126,7 @@ namespace OpenRA.Mods.Common.Traits if (exit != null || self.OccupiesSpace == null) { - DoProduction(self, producee, exit.Info, productionType, inits); + DoProduction(self, producee, exit == null ? null : exit.Info, productionType, inits); return true; }