From fcd258c45df38a94929f3f24f8a879c95118c401 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Tue, 14 Nov 2023 20:45:11 -0300 Subject: [PATCH] fix: ARK: Survival Ascended `numplayers` (#405) --- protocols/epic.js | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/epic.js b/protocols/epic.js index 5cefb30..dae5d6e 100644 --- a/protocols/epic.js +++ b/protocols/epic.js @@ -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.