Bugfixes for cancelOrder(), selling stocks for Corporation, and updating RAM usage on prestige. Also added in-game documentation for clear() and exit()

This commit is contained in:
danielyxie
2017-12-10 23:04:00 -06:00
parent 3f61ec1cab
commit d5bd1665d0
6 changed files with 432 additions and 411 deletions
+5
View File
@@ -696,6 +696,11 @@ function prestigeHomeComputer(homeComp) {
homeComp.ramUsed = 0;
homeComp.programs.push(Programs.NukeProgram);
//Update RAM usage on all scripts
this.scripts.forEach(function(script) {
script.updateRamUsage();
});
homeComp.messages.length = 0;
homeComp.messages.push("hackers-starting-handbook.lit");
}