diff --git a/discordgsm/protocols/scum.py b/discordgsm/protocols/scum.py index 9744741..b222c53 100644 --- a/discordgsm/protocols/scum.py +++ b/discordgsm/protocols/scum.py @@ -32,10 +32,10 @@ async def query(self): "password": data.get("password", False), "numplayers": data.get("num_players", 0), "numbots": 0, - "maxplayers": data.get("maxplayers", 0), + "maxplayers": data.get("max_players", 0), "players": None, "bots": None, - "connect": f"{host}:{data.get('port', port) - 2}", + "connect": f"{host}:{port - 2}", "ping": ping, "raw": data, }