mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 21:25:47 +01:00
MISC: Don't include temporary scripts into Recently Killed (#1045)
This commit is contained in:
parent
011d5e8fd6
commit
330a32e1d0
@ -93,5 +93,7 @@ function removeWorkerScript(workerScript: WorkerScript): void {
|
|||||||
server.updateRamUsed(roundToTwo(server.ramUsed - rs.ramUsage * rs.threads));
|
server.updateRamUsed(roundToTwo(server.ramUsed - rs.ramUsage * rs.threads));
|
||||||
|
|
||||||
workerScripts.delete(workerScript.pid);
|
workerScripts.delete(workerScript.pid);
|
||||||
|
if (rs.temporary === false) {
|
||||||
AddRecentScript(workerScript);
|
AddRecentScript(workerScript);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user