Fix a bunch of scripting related stuff.

This commit is contained in:
Olivier Gagnon
2021-11-25 11:47:31 -05:00
parent 8ad7ca5136
commit f0a004e75b
18 changed files with 337 additions and 6 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
);
server.fortify(CONSTANTS.ServerFortifyAmount * Math.min(threads, maxThreadNeeded));
if (stock) {
influenceStockThroughServerHack(server, moneyGained);
influenceStockThroughServerHack(server, moneyDrained);
}
if (manual) {
server.backdoorInstalled = true;