From d4c9100f772b286ae75c4aa56dd9b283c841b854 Mon Sep 17 00:00:00 2001 From: MaruMaruOO Date: Thu, 30 May 2019 20:34:55 -0400 Subject: [PATCH] Fix for EFS exports with ASBs. --- service/port/efs.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/service/port/efs.py b/service/port/efs.py index 090f62507..7d52046b0 100755 --- a/service/port/efs.py +++ b/service/port/efs.py @@ -136,15 +136,13 @@ class EfsPort: CalcChangeModuleChargesCommand( fit.ID, projected=False, - chargeMap={mod.position: None}, - commit=False).Do() + chargeMap={mod.position: None}).Do() sFit.recalc(fit) stats["unloadedCapacitorNeed"] = mod.getModifiedItemAttr("capacitorNeed") CalcChangeModuleChargesCommand( fit.ID, projected=False, - chargeMap={mod.position: c.typeID}, - commit=False).Do() + chargeMap={mod.position: c.typeID}).Do() sFit.recalc(fit) elif mod.item.group.name == "Capacitor Booster": # The capacitorNeed is negative, which provides the boost.