From 87660246b6e7f51f7f9d9fc512c5ff77325671b5 Mon Sep 17 00:00:00 2001 From: WatchMeCalculate Date: Fri, 1 Jun 2018 02:19:14 -0700 Subject: [PATCH] When re-enabling restrictions only delete incompatible modules Hardpoints past limit will show up highlighted red. --- service/fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/fit.py b/service/fit.py index 5fb884cad..75939a049 100644 --- a/service/fit.py +++ b/service/fit.py @@ -973,7 +973,7 @@ class Fit(object): # remove invalid modules when switching back to enabled fitting restrictions if not fit.ignoreRestrictions: for m in fit.modules: - if not m.isEmpty and not m.fits(fit): + if not m.isEmpty and not m.fits(fit, False): self.removeModule(fit.ID, m.modPosition) eos.db.commit()