mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Fix build issue
This commit is contained in:
@@ -191,8 +191,8 @@ export abstract class BaseServer {
|
|||||||
if (this.isRunning(fn)) {
|
if (this.isRunning(fn)) {
|
||||||
return { res: false, msg: "Cannot delete a script that is currently running!" };
|
return { res: false, msg: "Cannot delete a script that is currently running!" };
|
||||||
}
|
}
|
||||||
this.scripts[i].invalidateModule();
|
this.scripts[scriptIndex].invalidateModule();
|
||||||
this.scripts.splice(i, 1);
|
this.scripts.splice(scriptIndex, 1);
|
||||||
return { res: true };
|
return { res: true };
|
||||||
} else if (fn.endsWith(".lit")) {
|
} else if (fn.endsWith(".lit")) {
|
||||||
for (let i = 0; i < this.messages.length; ++i) {
|
for (let i = 0; i < this.messages.length; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user