fix playercont

This commit is contained in:
Skillet 2023-04-17 19:06:31 -04:00
parent 12bb13d8f9
commit 10289f1dac

View File

@ -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,