Fix for fighter prices (#1178)
This commit is contained in:
@@ -111,7 +111,7 @@ class PriceViewFull(StatsView):
|
||||
|
||||
if fit.fighters:
|
||||
for fighter in fit.fighters:
|
||||
fighter_price += fighter.item.price.price * fighter.amount
|
||||
fighter_price += fighter.item.price.price * fighter.amountActive
|
||||
|
||||
if fit.cargo:
|
||||
for cargo in fit.cargo:
|
||||
|
||||
@@ -105,7 +105,7 @@ class PriceViewMinimal(StatsView):
|
||||
|
||||
if fit.fighters:
|
||||
for fighter in fit.fighters:
|
||||
fighter_price += fighter.item.price.price * fighter.amount
|
||||
fighter_price += fighter.item.price.price * fighter.amountActive
|
||||
|
||||
if fit.cargo:
|
||||
for cargo in fit.cargo:
|
||||
|
||||
Reference in New Issue
Block a user