Fix #171
This commit is contained in:
@@ -632,12 +632,12 @@ class Port(object):
|
|||||||
# `or 1` because some charges (ie scripts) are without qty
|
# `or 1` because some charges (ie scripts) are without qty
|
||||||
charges[mod.chargeID] += mod.numCharges or 1
|
charges[mod.chargeID] += mod.numCharges or 1
|
||||||
|
|
||||||
for mod in mods:
|
|
||||||
dna += ":{0};{1}".format(mod, mods[mod])
|
|
||||||
|
|
||||||
for subsystem in sorted(subsystems, key=lambda mod: mod.getModifiedItemAttr("subSystemSlot")):
|
for subsystem in sorted(subsystems, key=lambda mod: mod.getModifiedItemAttr("subSystemSlot")):
|
||||||
dna += ":{0};1".format(subsystem.itemID)
|
dna += ":{0};1".format(subsystem.itemID)
|
||||||
|
|
||||||
|
for mod in mods:
|
||||||
|
dna += ":{0};{1}".format(mod, mods[mod])
|
||||||
|
|
||||||
for drone in fit.drones:
|
for drone in fit.drones:
|
||||||
dna += ":{0};{1}".format(drone.itemID, drone.amount)
|
dna += ":{0};{1}".format(drone.itemID, drone.amount)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user