From 50d563d6255ebadf65340d788a3d94de636cf1eb Mon Sep 17 00:00:00 2001 From: Anu <anulithic@gmail.com> Date: Fri, 17 Mar 2023 19:41:54 -0700 Subject: [PATCH] Unnecessary parentheses --- src/endWeek/player/prDrugs.js | 2 +- src/endWeek/saDrugs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endWeek/player/prDrugs.js b/src/endWeek/player/prDrugs.js index d99905748ea..0b810405d5d 100644 --- a/src/endWeek/player/prDrugs.js +++ b/src/endWeek/player/prDrugs.js @@ -795,7 +795,7 @@ App.EndWeek.Player.drugs = function(PC = V.PC) { r.push(`You <span class="change positive">directly inject yourself with growth stimulants</span> several times a day in an effort to increase your height.`); // genetic quirks if (PC.geneticQuirks.dwarfism === 2 && PC.geneticQuirks.gigantism === 2) { - growth += (0.1 * (random(-5, 5))); + growth += (0.1 * random(-5, 5)); if (V.geneticMappingUpgrade >= 1) { r.push(`Your combination of genetic factors for gigantism and dwarfism causes the effectiveness of the treatment to fluctuate erratically.`); } diff --git a/src/endWeek/saDrugs.js b/src/endWeek/saDrugs.js index 8bb06e138c5..192ad70dec2 100644 --- a/src/endWeek/saDrugs.js +++ b/src/endWeek/saDrugs.js @@ -760,7 +760,7 @@ App.SlaveAssignment.drugs = function saDrugs(slave) { r += `${He} receives frequent <span class="lime">injections of growth stimulants.</span>`; // genetic quirks if (slave.geneticQuirks.dwarfism === 2 && slave.geneticQuirks.gigantism === 2) { - growth += (0.1 * (random(-5, 5))); + growth += (0.1 * random(-5, 5)); if (V.geneticMappingUpgrade >= 1) { r += ` ${His} combination of genetic factors for gigantism and dwarfism causes the effectiveness of the treatment to fluctuate erratically.`; } -- GitLab