Handle bulkheads

This commit is contained in:
Cmdr McDonald
2016-11-02 09:54:52 +00:00
parent 06841b1485
commit ff0d8dccea
3 changed files with 4 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ export default class ModuleSet {
* @return {Object} Bulkhead module details
*/
getBulkhead(index) {
return this.bulkheads[index] || null;
return this.bulkheads[index] ? new Module({ template: this.bulkheads[index] }) : null;
}
/**