Start searching for available slots at 0 because the Type9 starts there

This commit is contained in:
felixlinker
2018-09-29 20:26:40 +01:00
parent f3d917ccbe
commit 28a90768e4

View File

@@ -181,7 +181,7 @@ export function shipFromLoadoutJSON(json) {
}
}
if (module.Slot.toLowerCase().search(/slot\d/) !== -1) {
let internalSlotNum = 1;
let internalSlotNum = 0;
let militarySlotNum = 1;
for (let i in shipTemplate.slots.internal) {
if (!shipTemplate.slots.internal.hasOwnProperty(i)) {