mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
UI: Show server's money in exponential form if it's too small (#2343)
This commit is contained in:
@@ -396,7 +396,9 @@ export class Terminal {
|
||||
this.print("Time to hack: " + (!isHacknet ? convertTimeMsToTimeElapsedString(hackingTime, true) : "N/A"));
|
||||
}
|
||||
this.print(
|
||||
`Total money available on server: ${currServ instanceof Server ? formatMoney(currServ.moneyAvailable) : "N/A"}`,
|
||||
`Total money available on server: ${
|
||||
currServ instanceof Server ? formatMoney(currServ.moneyAvailable, true) : "N/A"
|
||||
}`,
|
||||
);
|
||||
if (currServ instanceof Server) {
|
||||
const numPort = currServ.numOpenPortsRequired;
|
||||
|
||||
Reference in New Issue
Block a user