mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user