mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
Merge pull request #3754 from phyzical/bugfix/fix-dev-build
BUGFIX: fix compliation error in dev
This commit is contained in:
commit
0856680bab
@ -412,10 +412,9 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
|||||||
server.moneyAvailable = 0;
|
server.moneyAvailable = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let moneyGained = moneyDrained * BitNodeMultipliers.ScriptHackMoneyGain;
|
||||||
if (manual) {
|
if (manual) {
|
||||||
const moneyGained = moneyDrained * BitNodeMultipliers.ManualHackMoney;
|
moneyGained = moneyDrained * BitNodeMultipliers.ManualHackMoney;
|
||||||
} else {
|
|
||||||
const moneyGained = moneyDrained * BitNodeMultipliers.ScriptHackMoneyGain;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Player.gainMoney(moneyGained, "hacking");
|
Player.gainMoney(moneyGained, "hacking");
|
||||||
|
Loading…
Reference in New Issue
Block a user