mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 11:54:23 -05:00
Update index.js
This commit is contained in:
parent
70e2be8c51
commit
38b3a77cef
@ -378,7 +378,7 @@ export default class SquadServer extends EventEmitter {
|
||||
players.push({
|
||||
...oldPlayerInfo[player.steamID],
|
||||
...player,
|
||||
playercont: this.logParser.eventStore.players[player.steamID].controller,
|
||||
playercont: this.logParser.eventStore.players[player.steamID] ? this.logParser.eventStore.players[player.steamID].controller : null,
|
||||
squad: await this.getSquadByID(player.teamID, player.squadID)
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user