From 9746e5648d1968859ef1c2d0a5ace7eb920c69ce Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 24 Dec 2019 18:04:19 -0500 Subject: [PATCH] Fix another busted upgrade - helper was wrong --- constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.js b/constants.js index 458ea62..d7e7971 100644 --- a/constants.js +++ b/constants.js @@ -260,7 +260,7 @@ const effect_types = { }, "helper": { "apply": function (effect, productivity, helperCount) { - return productivity * (1 + effect.amount * helperCount); + return scaleCost(productivity, 1 + effect.amount * helperCount); }, "desc": function (effect) { return "+" + round(effect.amount * 100) + "% food/sec from " + buildings[effect.helped].name + " for every " + buildings[effect.helper].name + " owned.";