Fighters handling in Multibuy export

This commit is contained in:
petosorus
2016-09-15 08:27:38 +02:00
parent 8338b6adb3
commit ba3c9b87b5

View File

@@ -901,6 +901,10 @@ class Port(object):
for booster in fit.boosters:
export += "%s\n" % booster.item.name
if len(fit.fighters) > 0:
for fighter in fit.fighters:
export += "%s x%s\n" % (fighter.item.name, fighter.amountActive)
if export[-1] == "\n":
export = export[:-1]