diff --git a/src/Hacknet/ui/HacknetServerElem.tsx b/src/Hacknet/ui/HacknetServerElem.tsx index c0e0a2e74..b9a9d8f97 100644 --- a/src/Hacknet/ui/HacknetServerElem.tsx +++ b/src/Hacknet/ui/HacknetServerElem.tsx @@ -188,12 +188,13 @@ export function HacknetServerElem(props: IProps): React.ReactElement { multiplier = Math.min(levelsToMax, purchaseMult as number); } + const increase = 32 * Math.pow(2, node.cache + multiplier) - node.hashCapacity; const upgradeCacheCost = node.calculateCacheUpgradeCost(multiplier); upgradeCacheButton = ( - + hashes + + hashes } >