mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
fix compliation error in dev
bugfix/fix-dev-build File List: src/NetscriptFunctions.ts
This commit is contained in:
parent
31fe43715e
commit
bec40e5274
@ -412,10 +412,9 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
server.moneyAvailable = 0;
|
||||
}
|
||||
|
||||
let moneyGained = moneyDrained * BitNodeMultipliers.ScriptHackMoneyGain;
|
||||
if (manual) {
|
||||
const moneyGained = moneyDrained * BitNodeMultipliers.ManualHackMoney;
|
||||
} else {
|
||||
const moneyGained = moneyDrained * BitNodeMultipliers.ScriptHackMoneyGain;
|
||||
moneyGained = moneyDrained * BitNodeMultipliers.ManualHackMoney;
|
||||
}
|
||||
|
||||
Player.gainMoney(moneyGained, "hacking");
|
||||
|
Loading…
Reference in New Issue
Block a user