mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 10:12:53 +02:00
Fix bug smaller than a tardigrate (#653)
This commit is contained in:
@@ -491,7 +491,7 @@ function hack(
|
|||||||
maxThreadNeeded = 1e6;
|
maxThreadNeeded = 1e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
let moneyDrained = Math.floor(server.moneyAvailable * percentHacked) * threads;
|
let moneyDrained = server.moneyAvailable * percentHacked * threads;
|
||||||
|
|
||||||
// Over-the-top safety checks
|
// Over-the-top safety checks
|
||||||
if (moneyDrained <= 0) {
|
if (moneyDrained <= 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user