mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 20:37:05 +02:00
change sf4
This commit is contained in:
@@ -110,7 +110,7 @@ export function v1APIBreak(): void {
|
||||
for (const script of server.scripts) {
|
||||
if (!hasChanges(script.code)) continue;
|
||||
const prefix = script.filename.includes("/") ? "/BACKUP_" : "BACKUP_";
|
||||
backups.push(new Script(prefix + script.filename, script.code, script.server));
|
||||
backups.push(new Script(Player, prefix + script.filename, script.code, script.server));
|
||||
script.code = convert(script.code);
|
||||
}
|
||||
server.scripts = server.scripts.concat(backups);
|
||||
|
||||
Reference in New Issue
Block a user