Space Engineers

Space Engineers

Assembly Cleaning
Psicraft 12 Jan, 2015 @ 11:10pm
It's not necessary to cast assembler to IMyProductionBlock.
It's not necessary to cast assembler to IMyProductionBlock.
void cleanAssembler(IMyAssembler assembler) { if (assembler.IsProducing) return;

IMyAssembler inherits all the properties of IMyProductionBlock.

You only need to do this for IMyInventoryOwner, as the class that implements the IMyAssembler interface also implements the IMyInventoryOwner interface.
Last edited by Psicraft; 12 Jan, 2015 @ 11:10pm
< >
Showing 1-1 of 1 comments
Reptar  [developer] 13 Jan, 2015 @ 2:28am 
Fixed as well, thanks again.
< >
Showing 1-1 of 1 comments
Per page: 1530 50