Update killWorkerScript.ts

Remove spurious console debugging line
This commit is contained in:
OverlordQ 2022-09-29 08:20:49 -04:00 committed by GitHub
parent 5e4a393495
commit 046ba80935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;