Skip to content

Commit

Permalink
feat: return source on getPlayerData
Browse files Browse the repository at this point in the history
  • Loading branch information
SamShanks1 committed Sep 7, 2022
1 parent 2307e0f commit 955bd97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/server/bridge/sv_exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ exp('getPlayerData', async (locator: PlayerDataExportArgs): Promise<ExportedPlay
lastName: player.getLastName(),
name: player.getName(),
identifier: player.getIdentifier(),
source: player.source,
};
});
1 change: 1 addition & 0 deletions resources/server/players/player.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export interface ExportedPlayerData {
lastName: string;
name: string;
identifier: string;
source: number;
}

0 comments on commit 955bd97

Please sign in to comment.