mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
BUGFIX: Fix wrong money gain rate of Hacknet node (#1303)
This commit is contained in:
@@ -379,6 +379,7 @@ function processAllHacknetNodeEarnings(numCycles: number): number {
|
||||
for (let i = 0; i < Player.hacknetNodes.length; ++i) {
|
||||
const node = Player.hacknetNodes[i];
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user