mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Merge pull request #709 from Sid127/uuids-fix
Add mats for experimental effects to mat list
This commit is contained in:
@@ -177,6 +177,16 @@ export default class ModalShoppingList extends TranslatedComponent {
|
|||||||
mats[i] = module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
|
mats[i] = module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (const j in module.m.blueprint.special.components) {
|
||||||
|
if (!module.m.blueprint.special.components.hasOwnProperty(j)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (mats[j]) {
|
||||||
|
mats[j] += module.m.blueprint.special.components[j];
|
||||||
|
} else {
|
||||||
|
mats[j] = module.m.blueprint.special.components[j];
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user