Fixed server/node text always displaying as Hacknet Nodes even if the player has servers unlocked

This commit is contained in:
Tesseract1234567890 2021-06-10 09:19:44 -04:00
parent 1b734be895
commit 4cd17607e6
2 changed files with 2 additions and 2 deletions

@ -129,7 +129,7 @@ export class HacknetRoot extends React.Component {
return ( return (
<div> <div>
<h1>Hacknet Nodes</h1> <h1>Hacknet {hasHacknetServers() ? "Servers" : "Nodes"}</h1>
<GeneralInfo /> <GeneralInfo />
<PurchaseButton cost={purchaseCost} multiplier={this.state.purchaseMultiplier} onClick={this.handlePurchaseButtonClick} /> <PurchaseButton cost={purchaseCost} multiplier={this.state.purchaseMultiplier} onClick={this.handlePurchaseButtonClick} />

@ -67,7 +67,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
<span id="augmentations-notification" class="notification-off"> </span> <span id="augmentations-notification" class="notification-off"> </span>
</li> </li>
<li id="hacknet-nodes-tab" class="mainmenu-accordion-panel"> <li id="hacknet-nodes-tab" class="mainmenu-accordion-panel">
<button id="hacknet-nodes-menu-link"> Hacknet Nodes </button> <button id="hacknet-nodes-menu-link"> Hacknet Manager </button>
</li> </li>
<li id="sleeves-tab" class="mainmenu-accordion-panel"> <li id="sleeves-tab" class="mainmenu-accordion-panel">
<button id="sleeves-menu-link"> Sleeves </button> <button id="sleeves-menu-link"> Sleeves </button>