fixed parameters in call when adding neuts to structures.
(cherry picked from commit 4f77dff)
This commit is contained in:
committed by
Ebag333
parent
9df87f61cd
commit
eccf405ba8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user