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