Fixup Ammo stats handling

This commit is contained in:
cncfanatics
2010-10-08 18:07:27 +02:00
parent 5358efb28e
commit f50968fe83
2 changed files with 13 additions and 7 deletions

View File

@@ -18,8 +18,6 @@ class ItemStats(ContextMenu):
fitID = self.mainFrame.getActiveFit()
cFit = service.Fit.getInstance()
stuff = cFit.getFit(fitID).ship
elif context == "ammo":
stuff = selection[0].charge
else:
stuff = selection[0]