Fix bug with purchaseHacknetNode(). Improve nano interface

This commit is contained in:
Daniel Xie
2017-05-23 21:55:24 -05:00
parent 1a116c75ea
commit 5d415a1a60
3 changed files with 63 additions and 26 deletions
+1
View File
@@ -755,6 +755,7 @@ function evaluate(exp, workerScript) {
Player.loseMoney(cost);
Player.hacknetNodes.push(node);
displayHacknetNodesContent();
workerScript.scriptRef.log("Purchased new Hacknet Node with name: " + name);
resolve(name);
}, CONSTANTS.CodeInstructionRunTime);