Minor fixes to the indentation of oolite-equipment-control.js.
This commit is contained in:
parent
35bc9b507d
commit
716f13daf9
@ -157,12 +157,12 @@ this.equipmentAdded = function(equip)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
var eq_dict = this.$equipmentEnabled;
|
var eq_dict = this.$equipmentEnabled;
|
||||||
var eqIncompatible;
|
var eqIncompatible;
|
||||||
for (eqKey in eq_dict) {
|
for (eqKey in eq_dict) {
|
||||||
eqIncompatible = EquipmentInfo.infoForKey(eqKey).incompatibleEquipment;
|
eqIncompatible = EquipmentInfo.infoForKey(eqKey).incompatibleEquipment;
|
||||||
if (eqIncompatible && eqIncompatible.indexOf(equip) >= 0) {
|
if (eqIncompatible && eqIncompatible.indexOf(equip) >= 0) {
|
||||||
player.ship.removeEquipment(eqKey);
|
player.ship.removeEquipment(eqKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.$equipmentEnabled[equip] = 1;
|
this.$equipmentEnabled[equip] = 1;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user