diff --git a/OpenRA.Game/Traits/Player/ProductionQueue.cs b/OpenRA.Game/Traits/Player/ProductionQueue.cs index d61c5fff4e..29f7175393 100644 --- a/OpenRA.Game/Traits/Player/ProductionQueue.cs +++ b/OpenRA.Game/Traits/Player/ProductionQueue.cs @@ -180,7 +180,7 @@ namespace OpenRA.Traits // Something went wrong somewhere... if( producer == null ) { - CancelProduction( newUnitType.Category ); + CancelProduction( name ); return; }