mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 11:54:23 -05:00
fix playercont
This commit is contained in:
parent
12bb13d8f9
commit
10289f1dac
@ -375,7 +375,7 @@ export default class SquadServer extends EventEmitter {
|
||||
|
||||
const players = [];
|
||||
for (const player of await this.rcon.getListPlayers()){
|
||||
if(this.logParser.eventStore.players[player.steamID]){
|
||||
if(this.logParser.eventStore.players[player.steamID] && this.logParser.eventStore.players[player.steamID].controller){
|
||||
players.push({
|
||||
...oldPlayerInfo[player.steamID],
|
||||
...player,
|
||||
|
Loading…
Reference in New Issue
Block a user