ALways include price of ship and modules

This commit is contained in:
DarkPhoenix
2019-04-01 15:41:38 +03:00
parent f784f45b4e
commit 6c29b3f38b
4 changed files with 4 additions and 28 deletions

View File

@@ -125,11 +125,8 @@ class PriceViewFull(StatsView):
implant_price += implant.item.price.price
total_price = 0
if self.settings.get("ship"):
total_price += ship_price
if self.settings.get("modules"):
total_price += module_price
total_price += ship_price
total_price += module_price
if self.settings.get("drones"):
total_price += drone_price + fighter_price
if self.settings.get("cargo"):

View File

@@ -121,11 +121,8 @@ class PriceViewMinimal(StatsView):
fitting_price = module_price
total_price = 0
if self.settings.get("ship"):
total_price += ship_price
if self.settings.get("modules"):
total_price += module_price
total_price += ship_price
total_price += module_price
if self.settings.get("drones"):
total_price += drone_price + fighter_price
if self.settings.get("cargo"):