Skip to content

Commit

Permalink
Update doom3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
swesner411 committed Feb 4, 2025
1 parent bb1fb0d commit ece26bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discordgsm/protocols/doom3.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def query(self):
"name": info.get("si_name", ""),
"map": info.get("si_map", ""),
"password": info.get("si_usepass", info.get("si_needPass", "0")) == 1,
"numplayers": int(status.players),
"numplayers": len(status.players),
"numbots": 0,
"maxplayers": int(
info.get("si_maxplayers", info.get("si_maxPlayers", "0"))
Expand Down

0 comments on commit ece26bd

Please sign in to comment.