sync fetch
This commit is contained in:
@@ -175,7 +175,7 @@ export async function purchaseAndUpgradeServers(ns) {
|
||||
if (pServcount >= 9) {
|
||||
sFrontZero = "";
|
||||
}
|
||||
let hostname = ns.purchaseServer("pserv-" + sFrontZero + (aServers.length), targetRamInitial);
|
||||
let hostname = ns.purchaseServer("pserv-" + sFrontZero + pServcount, targetRamInitial);
|
||||
ns.tprint("Purchased " + cCyan + hostname + cReset);
|
||||
ns.toast("Purchased " + hostname, "info", 10000);
|
||||
pServcount = listPurchasedServers(ns).length;
|
||||
|
||||
Reference in New Issue
Block a user