mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Start searching for available slots at 0 because the Type9 starts there
This commit is contained in:
@@ -181,7 +181,7 @@ export function shipFromLoadoutJSON(json) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (module.Slot.toLowerCase().search(/slot\d/) !== -1) {
|
if (module.Slot.toLowerCase().search(/slot\d/) !== -1) {
|
||||||
let internalSlotNum = 1;
|
let internalSlotNum = 0;
|
||||||
let militarySlotNum = 1;
|
let militarySlotNum = 1;
|
||||||
for (let i in shipTemplate.slots.internal) {
|
for (let i in shipTemplate.slots.internal) {
|
||||||
if (!shipTemplate.slots.internal.hasOwnProperty(i)) {
|
if (!shipTemplate.slots.internal.hasOwnProperty(i)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user