This commit is contained in:
Chris Forbes
2009-11-18 19:27:34 +13:00
parent 00d633cbeb
commit 36721e9566

View File

@@ -342,7 +342,10 @@ namespace OpenRa.Game
&& producerTypes.Contains(a.unitInfo.Name) && a.Owner == player);
if (producer == null)
{
player.CancelProduction(Rules.UnitCategory[name]);
return;
}
Actor unit;