Merge pull request #3363 from Seancheey/patch-1

Fix workForFaction invalid worktype case
This commit is contained in:
hydroflame 2022-04-05 19:48:56 -04:00 committed by GitHub
commit cd33b833d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1104,6 +1104,7 @@ export function NetscriptSingularity(
return true;
default:
workerScript.log("workForFaction", () => `Invalid work type: '${type}`);
return false;
}
return true;
},