mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Fix wrong filter for "Max Players" for CSGO
This commit is contained in:
parent
8a02bbcb8c
commit
bba9445ec2
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ class Valve extends Core {
|
||||||
if(!name) continue;
|
if(!name) continue;
|
||||||
|
|
||||||
// CSGO sometimes adds a bot named 'Max Players' if host_players_show is not 2
|
// CSGO sometimes adds a bot named 'Max Players' if host_players_show is not 2
|
||||||
if (state.raw.steamappid === 730 && name === 'Max Players') continue;
|
if (state.raw.appId === 730 && name === 'Max Players') continue;
|
||||||
|
|
||||||
state.raw.players.push({
|
state.raw.players.push({
|
||||||
name:name, score:score, time:time
|
name:name, score:score, time:time
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue