mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
BUGFIX: Fix wrong money gain rate of Hacknet node (#1303)
This commit is contained in:
parent
30c04f8152
commit
b42f775493
@ -379,6 +379,7 @@ function processAllHacknetNodeEarnings(numCycles: number): number {
|
|||||||
for (let i = 0; i < Player.hacknetNodes.length; ++i) {
|
for (let i = 0; i < Player.hacknetNodes.length; ++i) {
|
||||||
const node = Player.hacknetNodes[i];
|
const node = Player.hacknetNodes[i];
|
||||||
if (typeof node === "string") throw new Error("player node should not be ip string");
|
if (typeof node === "string") throw new Error("player node should not be ip string");
|
||||||
|
node.updateMoneyGainRate(Player.mults.hacknet_node_money);
|
||||||
total += processSingleHacknetNodeEarnings(numCycles, node);
|
total += processSingleHacknetNodeEarnings(numCycles, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user