ALways include price of ship and modules
This commit is contained in:
@@ -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"):
|
||||
|
||||
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user