mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
split hacknet node from server in name, with SF9 (#327)
This commit is contained in:
@@ -65,7 +65,7 @@ export function purchaseHacknet(): number {
|
||||
}
|
||||
|
||||
// Auto generate a name for the Node
|
||||
const name = "hacknet-node-" + numOwned;
|
||||
const name = hasHacknetServers() ? `hacknet-server-${numOwned}` : `hacknet-node-${numOwned}`;
|
||||
const node = new HacknetNode(name, Player.mults.hacknet_node_money);
|
||||
|
||||
Player.loseMoney(cost, "hacknet_expenses");
|
||||
|
||||
Reference in New Issue
Block a user