Opps commented wrong thing

This commit is contained in:
blitzmann
2017-09-22 02:35:01 -04:00
parent ce5803dd9c
commit 7729bd9210

View File

@@ -457,7 +457,7 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
# Check max group fitted
max = self.getModifiedItemAttr("maxGroupFitted")
if max is not None:
# current = 0 if self.owner != fit else -1 # Disabled, see #1278
current = 0 # if self.owner != fit else -1 # Disabled, see #1278
for mod in fit.modules:
if mod.item and mod.item.groupID == self.item.groupID:
current += 1