Renamed BN mult CorporationSoftCap to CorporationSoftcap

Replaced all instances of "CorporationSoftCap" in src/ with
"CorporationSoftcap". If files outside of src/ must be changed, I
do not know what those would be.
This commit is contained in:
Undeemiss
2022-05-09 14:45:19 -05:00
parent b46718d188
commit b00301f4e1
6 changed files with 17 additions and 17 deletions

View File

@@ -528,7 +528,7 @@ function CorporationMults({ n, mults }: IMultsProps): React.ReactElement {
if (n !== 3 && player.sourceFileLvl(3) === 0) return <></>;
// is it empty check
if (
mults.CorporationSoftCap === defaultMultipliers.CorporationSoftCap &&
mults.CorporationSoftcap === defaultMultipliers.CorporationSoftcap &&
mults.CorporationValuation === defaultMultipliers.CorporationValuation
)
return <></>;
@@ -538,8 +538,8 @@ function CorporationMults({ n, mults }: IMultsProps): React.ReactElement {
<br />
<Typography variant={"h5"}>Corporation:</Typography>
<Box mx={1}>
{mults.CorporationSoftCap !== defaultMultipliers.CorporationSoftCap ? (
<Typography>Softcap: {mults.CorporationSoftCap.toFixed(3)}</Typography>
{mults.CorporationSoftcap !== defaultMultipliers.CorporationSoftcap ? (
<Typography>Softcap: {mults.CorporationSoftcap.toFixed(3)}</Typography>
) : (
<></>
)}