From eccf405ba82f43c085e92797872a705e5d9b8946 Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Sun, 11 Dec 2016 11:25:55 -0800 Subject: [PATCH] fixed parameters in call when adding neuts to structures. (cherry picked from commit 4f77dff) --- eos/effects/structureenergyneutralizerfalloff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/effects/structureenergyneutralizerfalloff.py b/eos/effects/structureenergyneutralizerfalloff.py index 8b6bf5846..673630a6b 100644 --- a/eos/effects/structureenergyneutralizerfalloff.py +++ b/eos/effects/structureenergyneutralizerfalloff.py @@ -10,4 +10,4 @@ def handler(fit, container, context): and container.state >= State.ACTIVE) or hasattr(container, "amountActive")): amount = container.getModifiedItemAttr("energyNeutralizerAmount") time = container.getModifiedItemAttr("duration") - fit.addDrain(time, amount, 0) + fit.addDrain(container, time, amount, 0)