mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
Fix ram usage of scp-overwritten files
This commit is contained in:
parent
69eda4340e
commit
3dbc848098
@ -924,7 +924,7 @@ const base: InternalAPI<NS> = {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
destScript.code = sourceScript.code;
|
destScript.code = sourceScript.code;
|
||||||
destScript.ramUsage = destScript.ramUsage;
|
destScript.ramUsage = sourceScript.ramUsage;
|
||||||
destScript.markUpdated();
|
destScript.markUpdated();
|
||||||
helpers.log(ctx, () => `WARNING: File '${file}' overwritten on '${destServer?.hostname}'`);
|
helpers.log(ctx, () => `WARNING: File '${file}' overwritten on '${destServer?.hostname}'`);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user