Differentiate between character implants and fits

This commit is contained in:
blitzmann
2015-11-10 02:06:44 -05:00
parent 938e2a871d
commit ca34d7cced
4 changed files with 12 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ import globalEvents as GE
class ImplantView(d.Display):
DEFAULT_COLS = ["State",
"attr:implantness",
"Base Icon",
"Base Name"]
def __init__(self, parent):
@@ -65,7 +66,7 @@ class ImplantView(d.Display):
fit = sFit.getFit(event.fitID)
self.original = fit.implants if fit is not None else None
self.implants = stuff = fit.implants if fit is not None else None
self.implants = stuff = fit.appliedImplants if fit is not None else None
if stuff is not None: stuff.sort(key=lambda implant: implant.slot)
if event.fitID != self.lastFitId: