From 41d45164c83a1257178deb92c96af66509804338 Mon Sep 17 00:00:00 2001 From: mama Date: Wed, 22 Nov 2017 17:42:28 +0100 Subject: [PATCH] =?UTF-8?q?:bug:=20Le=20m=C3=A9canisme=20bar=C3=A8me=20app?= =?UTF-8?q?ellait=20treat=20lors=20de=20l'=C3=A9valuation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/engine/mecanisms.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/engine/mecanisms.js b/source/engine/mecanisms.js index 8cab20ddb..9bc136587 100644 --- a/source/engine/mecanisms.js +++ b/source/engine/mecanisms.js @@ -587,7 +587,7 @@ export let mecanismScale = (recurse, k, v) => { : R.has('au-dessus de')(t) ? { de: t['au-dessus de'], à: Infinity, taux: t.taux } : t - ) + ).map(R.evolve({taux: recurse})) let objectShape = { assiette: false, @@ -621,7 +621,7 @@ export let mecanismScale = (recurse, k, v) => { : memo + (Math.min(val(assiette), max * val(multiplicateur)) - min * val(multiplicateur)) * - recurse(taux).nodeValue, + taux.nodeValue, 0 ) }