Fixed bug with purchasing Hacknet Servers not updating hash capacity when done through Netscript

This commit is contained in:
danielyxie
2019-03-30 17:39:37 -07:00
parent c566c838be
commit b6b6d8e9fa
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,6 @@ export class HacknetRoot extends React.Component {
const purchaseOnClick = () => {
if (purchaseHacknet() >= 0) {
this.recalculateTotalProduction();
Player.hashManager.updateCapacity(Player);
}
}