mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +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;
|
||||
}
|
||||
destScript.code = sourceScript.code;
|
||||
destScript.ramUsage = destScript.ramUsage;
|
||||
destScript.ramUsage = sourceScript.ramUsage;
|
||||
destScript.markUpdated();
|
||||
helpers.log(ctx, () => `WARNING: File '${file}' overwritten on '${destServer?.hostname}'`);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user