Skip to content

Commit

Permalink
fix: dont skip players with no name
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Jan 2, 2024
1 parent 90b3c60 commit fc2791f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions protocols/valve.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ export default class valve extends Core {

this.logger.debug('Found player: ' + name + ' ' + score + ' ' + time)

// connecting players don't count as players.
if (!name) continue

// CSGO sometimes adds a bot named 'Max Players' if host_players_show is not 2
if (state.raw.appId === AppId.CSGO && name === 'Max Players') continue

Expand Down

0 comments on commit fc2791f

Please sign in to comment.