From 716f13daf938f8b54fb51a97211fdd85c20251de Mon Sep 17 00:00:00 2001 From: AnotherCommander Date: Wed, 12 Aug 2020 10:00:13 +0200 Subject: [PATCH] Minor fixes to the indentation of oolite-equipment-control.js. --- Resources/Scripts/oolite-equipment-control.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Resources/Scripts/oolite-equipment-control.js b/Resources/Scripts/oolite-equipment-control.js index 06e4bbea..f5d1d6e9 100644 --- a/Resources/Scripts/oolite-equipment-control.js +++ b/Resources/Scripts/oolite-equipment-control.js @@ -157,12 +157,12 @@ this.equipmentAdded = function(equip) } } var eq_dict = this.$equipmentEnabled; - var eqIncompatible; - for (eqKey in eq_dict) { - eqIncompatible = EquipmentInfo.infoForKey(eqKey).incompatibleEquipment; - if (eqIncompatible && eqIncompatible.indexOf(equip) >= 0) { - player.ship.removeEquipment(eqKey); - } + var eqIncompatible; + for (eqKey in eq_dict) { + eqIncompatible = EquipmentInfo.infoForKey(eqKey).incompatibleEquipment; + if (eqIncompatible && eqIncompatible.indexOf(equip) >= 0) { + player.ship.removeEquipment(eqKey); + } } this.$equipmentEnabled[equip] = 1; };