mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 13:45:44 +01:00
Update killWorkerScript.ts
Remove spurious console debugging line
This commit is contained in:
parent
5e4a393495
commit
046ba80935
@ -18,7 +18,6 @@ import { handleUnknownError } from "./NetscriptHelpers";
|
|||||||
export type killScriptParams = WorkerScript | number | { runningScript: RunningScript; hostname: string };
|
export type killScriptParams = WorkerScript | number | { runningScript: RunningScript; hostname: string };
|
||||||
|
|
||||||
export function killWorkerScript(params: killScriptParams): boolean {
|
export function killWorkerScript(params: killScriptParams): boolean {
|
||||||
console.log(ITutorial.isRunning);
|
|
||||||
if (ITutorial.isRunning) {
|
if (ITutorial.isRunning) {
|
||||||
AlertEvents.emit("Processes cannot be killed during the tutorial.");
|
AlertEvents.emit("Processes cannot be killed during the tutorial.");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user