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 Nov 14, 2023
1 parent e31da4d commit 2fb9f50
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

for (const player of desiredServer.publicPlayers) {
Expand Down

0 comments on commit 2fb9f50

Please sign in to comment.