This commit is contained in:
blitzman
2017-02-15 20:55:42 -05:00
parent 3f46db55b6
commit bcd045ae4e

View File

@@ -726,8 +726,8 @@ class Fit(object):
else:
fit.drones.remove(d1)
d2.amount += getattr(d1, "amount", 0)
d2.amountActive += getattr(d1, "amountActive", 0)
d2.amount += d1.amount
d2.amountActive += d1.amountActive
# If we have less than the total number of drones active, make them all active. Fixes #728
# This could be removed if we ever add an enhancement to make drone stacks partially active.