diff --git a/eos b/eos index a5737d4e1..1dea1ba30 160000 --- a/eos +++ b/eos @@ -1 +1 @@ -Subproject commit a5737d4e17570c8c4b6f5b99679007912bbd9664 +Subproject commit 1dea1ba300af85ffeca766a9f7516cf07768226c diff --git a/gui/builtinViewColumns/capacitorUse.py b/gui/builtinViewColumns/capacitorUse.py index 6db5ce5ef..732e96c0c 100644 --- a/gui/builtinViewColumns/capacitorUse.py +++ b/gui/builtinViewColumns/capacitorUse.py @@ -36,10 +36,9 @@ class CapacitorUse(ViewColumn): def getText(self, mod): - attr = mod.getModifiedItemAttr("capacitorNeed") - cycleTime = mod.getCycleTime() - if attr is not None and cycleTime is not None: - return "%s%s" % ("+" if attr < 0 else "", (formatAmount(-attr / mod.getCycleTime(), 3, 0, 3))) + capUse = mod.capUse + if capUse is not None: + return "%s%s" % ("+" if capUse < 0 else "", (formatAmount(-capUse, 3, 0, 3))) else: return ""