diff --git a/service/port.py b/service/port.py index b0db7018d..f6afd51d1 100644 --- a/service/port.py +++ b/service/port.py @@ -1143,6 +1143,7 @@ class Port(object): subsystems = [] # EVE cares which order you put these in mods = OrderedDict() charges = OrderedDict() + sFit = svcFit.getInstance() for mod in fit.modules: if not mod.isEmpty: if mod.slot == Slot.SUBSYSTEM: @@ -1152,7 +1153,7 @@ class Port(object): mods[mod.itemID] = 0 mods[mod.itemID] += 1 - if mod.charge: + if mod.charge and sFit.serviceFittingOptions["exportCharges"]: if mod.chargeID not in charges: charges[mod.chargeID] = 0 # `or 1` because some charges (ie scripts) are without qty