fix max players

This commit is contained in:
NOTPIES
2026-03-15 23:11:29 -03:00
parent 2b492ad8ce
commit db5a8c9089
4 changed files with 8 additions and 3 deletions

View File

@@ -64,6 +64,9 @@ bool DedicatedServer::init()
extern bool g_ServerAdvertiseLAN;
g_ServerAdvertiseLAN = m_properties.advertiseLan;
extern int g_ServerMaxPlayers;
g_ServerMaxPlayers = m_properties.maxPlayers;
extern char g_ServerBindAddress[256];
if (!m_properties.serverIp.empty())
{