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