mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 04:17:05 +02:00
fix(servers): fix issue of space in server name
Replace the space in a server name with a hyphen (-), also noticed some interesting behaviour with the 'count up naming', so tweaked that. Resolves danielyxie/bitburner#1999
This commit is contained in:
@@ -96,7 +96,7 @@ export function purchaseServer(hostname: string, ram: number, cost: number, p: I
|
||||
|
||||
p.loseMoney(cost, "servers");
|
||||
|
||||
dialogBoxCreate("Server successfully purchased with hostname " + hostname);
|
||||
dialogBoxCreate("Server successfully purchased with hostname " + newServ.hostname);
|
||||
}
|
||||
|
||||
// Manually upgrade RAM on home computer (NOT through Netscript)
|
||||
|
||||
Reference in New Issue
Block a user