mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02: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