From 28a90768e4c0c2709b34d2873f210895c2e1e3c5 Mon Sep 17 00:00:00 2001 From: felixlinker Date: Sat, 29 Sep 2018 20:26:40 +0100 Subject: [PATCH] Start searching for available slots at 0 because the Type9 starts there --- src/app/utils/JournalUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/utils/JournalUtils.js b/src/app/utils/JournalUtils.js index ad400764..1cba2565 100644 --- a/src/app/utils/JournalUtils.js +++ b/src/app/utils/JournalUtils.js @@ -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)) {