UpdateScriptRam on prestige bug fix

This commit is contained in:
danielyxie 2017-12-10 23:07:16 -06:00
parent d5bd1665d0
commit 79274defc4
2 changed files with 2 additions and 2 deletions

2
dist/bundle.js vendored

@ -6546,7 +6546,7 @@ function prestigeHomeComputer(homeComp) {
homeComp.programs.push(__WEBPACK_IMPORTED_MODULE_2__CreateProgram_js__["a" /* Programs */].NukeProgram); homeComp.programs.push(__WEBPACK_IMPORTED_MODULE_2__CreateProgram_js__["a" /* Programs */].NukeProgram);
//Update RAM usage on all scripts //Update RAM usage on all scripts
this.scripts.forEach(function(script) { homeComp.scripts.forEach(function(script) {
script.updateRamUsage(); script.updateRamUsage();
}); });

@ -697,7 +697,7 @@ function prestigeHomeComputer(homeComp) {
homeComp.programs.push(Programs.NukeProgram); homeComp.programs.push(Programs.NukeProgram);
//Update RAM usage on all scripts //Update RAM usage on all scripts
this.scripts.forEach(function(script) { homeComp.scripts.forEach(function(script) {
script.updateRamUsage(); script.updateRamUsage();
}); });