mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 02:32:55 +02:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
@@ -86,7 +86,9 @@ function possibleFactions(player: IPlayer, sleeve: Sleeve): string[] {
|
||||
}
|
||||
|
||||
return factions.filter((faction) => {
|
||||
const facInfo = Factions[faction].getInfo();
|
||||
const factionObj = Factions[faction];
|
||||
if (!factionObj) return false;
|
||||
const facInfo = factionObj.getInfo();
|
||||
return facInfo.offerHackingWork || facInfo.offerFieldWork || facInfo.offerSecurityWork;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user