more prep for gpd

This commit is contained in:
willyb321
2018-06-26 08:02:04 +10:00
parent 2aa6a6daa2
commit fd7923155f
2 changed files with 4 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ const CATEGORIES = {
'experimental': ['axmc', 'axmr', 'rfl', 'xs', 'sfn', 'rcpl'],
// Guardian
'guardian': ['gpp', 'gpc', 'ggc']
'guardian': ['gpp', 'gpd', 'gpc', 'ggc']
};
/**

View File

@@ -67,6 +67,9 @@ export default class StandardSlot extends TranslatedComponent {
if (m && m.name && m.name === 'Guardian Hybrid Power Plant') {
validMods = [];
}
if (m && m.name && m.name === 'Guardian Power Distributor') {
validMods = [];
}
let showModuleResistances = Persist.showModuleResistances();
let mass = m.getMass() || m.cargo || m.fuel || 0;