Consistently respect SF5 BN mult unlock

This commit is contained in:
nickofolas
2022-04-07 23:19:05 -05:00
parent e3e77ea2cc
commit 3d296e2bf0
2 changed files with 21 additions and 18 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import { Player } from "../../Player";
import { numeralWrapper } from "../../ui/numeralFormat";
import { Augmentations } from "../Augmentations";
import { DoubleArrow } from "@mui/icons-material";
import { SourceFileFlags } from "../../SourceFile/SourceFileFlags";
import { Settings } from "../../Settings/Settings";
function calculateAugmentedStats(): any {
@@ -29,7 +30,7 @@ interface BitNodeModifiedStatsProps {
}
function BitNodeModifiedStats(props: BitNodeModifiedStatsProps): React.ReactElement {
if (props.mult === 1)
if (props.mult === 1 || SourceFileFlags[5] === 0)
return <Typography color={props.color}>{numeralWrapper.formatPercentage(props.base)}</Typography>;
return (