mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 20:37:05 +02:00
TYPESAFETY: FactionName (#644)
This commit is contained in:
@@ -137,10 +137,9 @@ const tasks: {
|
||||
|
||||
return {
|
||||
first: factions,
|
||||
second: (s1: string) => {
|
||||
second: (s1) => {
|
||||
if (!getEnumHelper("FactionName").isMember(s1)) return ["------"];
|
||||
const faction = Factions[s1];
|
||||
if (!faction) return ["------"];
|
||||
|
||||
const facInfo = faction.getInfo();
|
||||
const options: string[] = [];
|
||||
if (facInfo.offerHackingWork) {
|
||||
|
||||
Reference in New Issue
Block a user