remove spurious IProducer interface; add IBlocksBullets and move Wall

This commit is contained in:
Chris Forbes
2010-05-23 16:24:28 +12:00
parent 224489502e
commit 431bbe2764
8 changed files with 9 additions and 12 deletions

View File

@@ -193,7 +193,7 @@ namespace OpenRA.Traits
return;
}
if( producer.traits.WithInterface<IProducer>().Any( p => p.Produce( producer, newUnitType ) ) )
if( producer.traits.WithInterface<Production>().Any( p => p.Produce( producer, newUnitType ) ) )
FinishProduction( newUnitType.Category );
}
}