fix dumb crash in ProductionQueue

This commit is contained in:
Chris Forbes
2010-03-27 23:10:57 +13:00
parent ebb65a92d6
commit 006ccbc59c

View File

@@ -180,7 +180,7 @@ namespace OpenRA.Traits
// Something went wrong somewhere...
if( producer == null )
{
CancelProduction( newUnitType.Category );
CancelProduction( name );
return;
}