mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 14:33:22 +00:00
Adding fix for broken Armour Module Selection
This commit is contained in:
@@ -322,7 +322,7 @@ export default class AvailableModulesMenu extends TranslatedComponent {
|
||||
for (let i = 0; i < sortedModules.length; i++) {
|
||||
let m = sortedModules[i];
|
||||
// If m.grp is mh or mm, or m.symbol contains 'Missing' skip it
|
||||
if (m.grp == 'mh' || m.grp == 'mm' || m.symbol.includes("Missing")) {
|
||||
if (m.grp == 'mh' || m.grp == 'mm' || (typeof(m.symbol) !== 'undefined' && m.symbol.includes("Missing"))) {
|
||||
// If this is a missing module, skip it
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user