mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Correcting CI errors
This commit is contained in:
@@ -185,8 +185,8 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
|
|||||||
ship.hardpoints.forEach(function(slot) { ship.use(slot, null, null); });
|
ship.hardpoints.forEach(function(slot) { ship.use(slot, null, null); });
|
||||||
ship.internal.forEach(function(slot) { ship.use(slot, null, null); });
|
ship.internal.forEach(function(slot) { ship.use(slot, null, null); });
|
||||||
ship.internal.some(function(slot) {
|
ship.internal.some(function(slot) {
|
||||||
if ('undefined' == typeof slot.eligible) { // Assuming largest slot can hold an eligible shield
|
if (typeof slot.eligible === "undefined") { // Assuming largest slot can hold an eligible shield
|
||||||
var id = Components.findInternalId('Shield Generator', slot.maxClass, 'A');
|
id = Components.findInternalId('Shield Generator', slot.maxClass, 'A');
|
||||||
ship.use(slot, id, Components.internal(id));
|
ship.use(slot, id, Components.internal(id));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user