From af9f64db5f841ef6f402fe72327412dc43067ece Mon Sep 17 00:00:00 2001 From: blitzmann Date: Thu, 9 Jul 2015 14:48:15 -0400 Subject: [PATCH] Move the chain into the runtime loop, otherwise projections won't work for some odd reason. --- eos/saveddata/fit.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/eos/saveddata/fit.py b/eos/saveddata/fit.py index 3edb73a30..391f046b8 100644 --- a/eos/saveddata/fit.py +++ b/eos/saveddata/fit.py @@ -465,19 +465,19 @@ class Fit(object): # Mark fit as calculated self.__calculated = True - c = chain( - (self.character, self.ship), - self.drones, - self.boosters, - self.appliedImplants, - self.modules - ) - - if not projected: - # if not a projected fit, add a couple of more things - c = chain(c, self.projectedDrones, self.projectedModules) - for runTime in ("early", "normal", "late"): + c = chain( + (self.character, self.ship), + self.drones, + self.boosters, + self.appliedImplants, + self.modules + ) + + if not projected: + # if not a projected fit, add a couple of more things + c = chain(c, self.projectedDrones, self.projectedModules) + # We calculate gang bonuses first so that projected fits get them if self.gangBoosts is not None: self.__calculateGangBoosts(runTime)