Skip to content

Commit

Permalink
Comment out debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
alainbryden committed Nov 6, 2024
1 parent 13d3adc commit 5565da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ export async function main(ns) {
// Special-case support: In some BNs hack income is severely penalized (or zero) but earning hack exp is still useful.
// To support these, always allow a small percentage (0.1%) of our total earnings (including other income sources) to be spent on servers
(moneySources?.sinceInstall?.total ?? 0) * 0.001 - serverSpend);
log(ns, `Math.max(0, ${options['max-purchased-server-spend']} * (${formatMoney(moneySources?.sinceInstall?.hacking)} ?? 0) - ${formatMoney(serverSpend)}, ` +
`(${formatMoney(moneySources?.sinceInstall?.total)} ?? 0) * 0.001 - ${formatMoney(serverSpend)}) = ${formatMoney(budget)}`);
//log(ns, `Math.max(0, ${options['max-purchased-server-spend']} * (${formatMoney(moneySources?.sinceInstall?.hacking)} ?? 0) - ${formatMoney(serverSpend)}, ` +
// `(${formatMoney(moneySources?.sinceInstall?.total)} ?? 0) * 0.001 - ${formatMoney(serverSpend)}) = ${formatMoney(budget)}`);
return budget;
}

Expand Down

0 comments on commit 5565da3

Please sign in to comment.