Skip to content

Commit

Permalink
fix: ARK: Survival Ascended numplayers (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermewerner authored and CosminPerRam committed Nov 25, 2023
1 parent 0777dea commit fcd258c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocols/epic.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default class Epic extends Core {
state.name = desiredServer.attributes.CUSTOMSERVERNAME_s
state.map = desiredServer.attributes.MAPNAME_s
state.password = desiredServer.attributes.SERVERPASSWORD_b
state.numplayers = desiredServer.totalPlayers
state.maxplayers = desiredServer.settings.maxPublicPlayers

// If the game returns the player list, we can use it otherwise we use the total players.
Expand Down

0 comments on commit fcd258c

Please sign in to comment.