This commit is contained in:
parent
67e86d3fe8
commit
b0af081d36
|
@ -12,6 +12,7 @@
|
||||||
* Grand Theft Auto: San Andreas OpenMP - Fixed `state.players` returning an empty array (By @Focus04 #547)
|
* Grand Theft Auto: San Andreas OpenMP - Fixed `state.players` returning an empty array (By @Focus04 #547)
|
||||||
* Perf: Re-write of the `core` class.
|
* Perf: Re-write of the `core` class.
|
||||||
* Perf: Remove many if statements from `GameSpy2`.
|
* Perf: Remove many if statements from `GameSpy2`.
|
||||||
|
* fix: BeamMP maxplayers that was displaying player count (By @dgibbs64 #551)
|
||||||
|
|
||||||
## 5.0.0-beta.2
|
## 5.0.0-beta.2
|
||||||
* Fixed support for projects using `require`.
|
* Fixed support for projects using `require`.
|
||||||
|
|
|
@ -17,7 +17,7 @@ export default class beammp extends Core {
|
||||||
state.map = server.map
|
state.map = server.map
|
||||||
state.password = server.password
|
state.password = server.password
|
||||||
state.numplayers = parseInt(server.players)
|
state.numplayers = parseInt(server.players)
|
||||||
state.maxplayers = parseInt(server.players)
|
state.maxplayers = parseInt(server.maxplayers)
|
||||||
|
|
||||||
const players = server.playerslist.split(';')
|
const players = server.playerslist.split(';')
|
||||||
if (players[players.length - 1] === '') {
|
if (players[players.length - 1] === '') {
|
||||||
|
|
Loading…
Reference in New Issue