From bba9445ec277f635df5b4963e9424d45aa30ab57 Mon Sep 17 00:00:00 2001 From: Nicolai Cornelis Date: Tue, 19 Jul 2022 22:41:04 +0200 Subject: [PATCH] Fix wrong filter for "Max Players" for CSGO --- protocols/valve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/valve.js b/protocols/valve.js index 9a33cef..d7f3861 100644 --- a/protocols/valve.js +++ b/protocols/valve.js @@ -226,7 +226,7 @@ class Valve extends Core { if(!name) continue; // 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({ name:name, score:score, time:time