mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Fix #3742
This commit is contained in:
parent
682b12d05a
commit
4d41d2deaf
@ -428,7 +428,11 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
server.moneyAvailable = 0;
|
||||
}
|
||||
|
||||
const moneyGained = moneyDrained * BitNodeMultipliers.ScriptHackMoneyGain;
|
||||
if (manual) {
|
||||
const moneyGained = moneyDrained * BitNodeMultipliers.ManualHackMoney;
|
||||
} else {
|
||||
const moneyGained = moneyDrained * BitNodeMultipliers.ScriptHackMoneyGain;
|
||||
}
|
||||
|
||||
Player.gainMoney(moneyGained, "hacking");
|
||||
workerScript.scriptRef.onlineMoneyMade += moneyGained;
|
||||
|
Loading…
Reference in New Issue
Block a user