mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-19 07:48:37 +02:00
NETSCRIPT: Greatly speed up script launching, and remove the limitation unique args per script (#440)
* Remove the limitation unique args per script * Internal changes to how runningScripts are stored on the server, to make common usage faster.
This commit is contained in:
@@ -88,7 +88,7 @@ export function Generic_fromJSON<T extends Record<string, any>>(
|
||||
if (keys) {
|
||||
for (const key of keys) {
|
||||
const val = data[key];
|
||||
if (val) obj[key] = val;
|
||||
if (val !== undefined) obj[key] = val;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user