Cleanup.
This commit is contained in:
@ -37,7 +37,7 @@ namespace IngameScript
|
||||
|
||||
// Add the part; the Door object handles typing and sequencing.
|
||||
ISequenceable wrapped = SequenceableFactory.MakeSequenceable(block, _ini, "mechDoor");
|
||||
if (!(block is IMyShipMergeBlock)) wrapped.Step = 1;
|
||||
if (!(block is IMyShipMergeBlock)) wrapped.Step = 1; // TODO: actually support merge blocks here
|
||||
if (wrapped == null) { _console.Print($"Tried to add incompatible block '{block.CustomName}'"); continue; }
|
||||
_doors[doorName].AddBlock(wrapped);
|
||||
}
|
||||
|
Reference in New Issue
Block a user