Skip to content

Commit

Permalink
Add fighters to overall fitting price (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Jul 6, 2016
1 parent f396077 commit f141fac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gui/builtinStatsViews/priceViewFull.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ def refreshPanel(self, fit):
for drone in fit.drones:
for _ in xrange(drone.amount):
typeIDs.append(drone.itemID)

for fighter in fit.fighters:
for _ in xrange(fighter.amountActive):
typeIDs.append(fighter.itemID)

for cargo in fit.cargo:
for _ in xrange(cargo.amount):
typeIDs.append(cargo.itemID)
Expand Down

0 comments on commit f141fac

Please sign in to comment.