mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-10 01:27:48 +02:00
CODEBASE: Fix lint errors 1 (#1732)
This commit is contained in:
@@ -36,9 +36,9 @@ export function getGangFaction(this: PlayerObject): Faction {
|
||||
return fac;
|
||||
}
|
||||
|
||||
export function getGangName(this: PlayerObject): string {
|
||||
export function getGangName(this: PlayerObject): FactionName | null {
|
||||
const gang = this.gang;
|
||||
return gang ? gang.facName : "";
|
||||
return gang ? gang.facName : null;
|
||||
}
|
||||
|
||||
export function hasGangWith(this: PlayerObject, facName: FactionName): boolean {
|
||||
|
||||
Reference in New Issue
Block a user