mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Fix #3742
This commit is contained in:
parent
682b12d05a
commit
4d41d2deaf
@ -427,8 +427,12 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
if (server.moneyAvailable < 0) {
|
||||
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