fix(beammp): correct maxplayers that was displaying player count (#551) (#551)

This commit is contained in:
Daniel Gibbs 2024-02-26 15:26:24 +00:00 committed by GitHub
parent 67e86d3fe8
commit b0af081d36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -17,7 +17,7 @@ export default class beammp extends Core {
state.map = server.map
state.password = server.password
state.numplayers = parseInt(server.players)
state.maxplayers = parseInt(server.players)
state.maxplayers = parseInt(server.maxplayers)
const players = server.playerslist.split(';')
if (players[players.length - 1] === '') {