mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +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));
|
||||
|
||||
workerScripts.delete(workerScript.pid);
|
||||
AddRecentScript(workerScript);
|
||||
if (rs.temporary === false) {
|
||||
AddRecentScript(workerScript);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user