Adding beginnings of comparison feature

This commit is contained in:
Colin McLeod
2015-05-05 01:05:58 -07:00
parent 748e1261fe
commit f418e7a6ae
15 changed files with 224 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ angular.module('shipyard').factory('Ship', ['Components', 'calcShieldStrength',
if (comps.internal[i] !== 0) {
internal[i].id = comps.internal[i];
internal[i].c = Components.internal(comps.internal[i]);
if (internal[i].c.group == 'sg') {
if (internal[i].c.grp == 'sg') {
this.sgSI = i;
}
} else {