Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
rderfler
2022-05-06 22:44:24 -04:00
85 changed files with 2207 additions and 1622 deletions
+3 -1
View File
@@ -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;
});
}