Remove rigs from prereq checking

This commit is contained in:
blitzmann
2016-05-02 21:10:29 -04:00
parent f524591327
commit 5a5e77414a

View File

@@ -363,6 +363,8 @@ class Character(object):
toCheck = []
reqs = {}
for thing in itertools.chain(fit.modules, fit.drones, fit.fighters, (fit.ship,)):
if isinstance(thing, eos.types.Module) and thing.slot == eos.types.Slot.RIG:
continue
for attr in ("item", "charge"):
subThing = getattr(thing, attr, None)
subReqs = {}