Added Callback function to installAugmentations(). Implemented Source-File 5. Added player-defined functions to Netscript (not thoroughly tested). Began working on Hacking Mission Enemy 'AI'

This commit is contained in:
danielyxie
2017-09-29 10:02:33 -05:00
parent 1233d487d9
commit 26fe9eb519
11 changed files with 5230 additions and 4892 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ Environment.prototype = {
//Create a "subscope", which is a new new "sub-environment"
//The subscope is linked to this through its parent variable
extend: function() {
return new Environment(this);
return new Environment(null, this);
},
//Finds the scope where the variable with the given name is defined