Disable an odd bit of code from a long time ago that fitting max group fitting restrictions to be bypassed (#1278)

This commit is contained in:
blitzmann
2017-09-22 02:33:46 -04:00
parent f37f4573bf
commit ce5803dd9c

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
# 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