mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Fixed bugs in purchasing/upgrading hacknet nodes in Netscript. Fixed documentation for them as well
This commit is contained in:
+1
-1
@@ -436,7 +436,7 @@ processSingleHacknetNodeEarnings = function(numCycles, nodeObj) {
|
||||
getHacknetNode = function(name) {
|
||||
for (var i = 0; i < Player.hacknetNodes.length; ++i) {
|
||||
if (Player.hacknetNodes[i].name == name) {
|
||||
return player.hacknetNodes[i];
|
||||
return Player.hacknetNodes[i];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user