Update src/PersonObjects/Player/PlayerObjectGangMethods.ts

Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
This commit is contained in:
borisflagell
2022-04-23 15:39:19 +02:00
committed by GitHub
parent 421e7b8c74
commit ff3493e184

View File

@@ -18,10 +18,7 @@ export function canAccessGang(this: IPlayer): boolean {
}
export function isAwareOfGang(this: IPlayer): boolean {
if (this.bitNodeN === 2 || this.sourceFileLvl(2) >= 1) {
return true;
}
return false;
return this.bitNodeN === 2 || this.sourceFileLvl(2) >= 1;
}
export function getGangFaction(this: IPlayer): Faction {