From 2fc37070c773bc81661cf96198f648c5fb7862ff Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Wed, 28 Oct 2020 23:30:36 -0400 Subject: [PATCH] bugfix --- src/endWeek/economics/reputation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endWeek/economics/reputation.js b/src/endWeek/economics/reputation.js index fb28ab6db34..c23a8d508a9 100644 --- a/src/endWeek/economics/reputation.js +++ b/src/endWeek/economics/reputation.js @@ -51,10 +51,10 @@ App.EndWeek.reputation = function() { let _repDecay = 0.05; let _enduringRep = V.enduringRep; - if (V.arcologies.FSChattelReligionistLaw === 1) { + if (V.arcologies[0].FSChattelReligionistLaw === 1) { _enduringRep = Math.min(_enduringRep + 2000, 12000); } - if (V.arcologies.FSRestartDecoration === 100) { + if (V.arcologies[0].FSRestartDecoration === 100) { _enduringRep = Math.min(_enduringRep + 2000, 13000); /* that 13000 is not a typo, it allows for some stacking of FSRestart and FSChattel */ } -- GitLab