Merge pull request #4182 from OverlordQ/patch-1

MISC: Remove spurious console spam
This commit is contained in:
hydroflame 2022-10-04 11:45:09 -04:00 committed by GitHub
commit 2b8ced4fff
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;