mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
This commit is contained in:
parent
67e86d3fe8
commit
b0af081d36
2 changed files with 2 additions and 1 deletions
|
|
@ -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] === '') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue