aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-24 19:40:55 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-24 19:40:55 +0000
commit3dcd9f6b6da1c3f277b27a296f58bca3cbc3a775 (patch)
tree231962a572971d5fb3083bd50a67c82668f260fb /NorthstarDedicatedTest/masterserver.cpp
parent7ea2cc6df5d2b6e74cbef36e50c54f74498dfa08 (diff)
downloadNorthstarLauncher-3dcd9f6b6da1c3f277b27a296f58bca3cbc3a775.tar.gz
NorthstarLauncher-3dcd9f6b6da1c3f277b27a296f58bca3cbc3a775.zip
add playercount param to heartbeat
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.cpp')
-rw-r--r--NorthstarDedicatedTest/masterserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp
index 1032f8ec..8f3a6d53 100644
--- a/NorthstarDedicatedTest/masterserver.cpp
+++ b/NorthstarDedicatedTest/masterserver.cpp
@@ -648,7 +648,7 @@ void MasterServerManager::AddSelfToServerList(int port, int authPort, char* name
while (*m_ownServerId)
{
Sleep(15000);
- http.Post(fmt::format("/server/heartbeat?id={}", m_ownServerId).c_str());
+ http.Post(fmt::format("/server/heartbeat?id={}&playerCount={}", m_ownServerId, g_ServerAuthenticationManager->m_additionalPlayerData.size()).c_str());
}
});