mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-15 06:56:42 +00:00
Fix maximum incoming connections
This commit is contained in:
parent
b09e4a0218
commit
ce92f30022
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ int main(int argc, char *argv[])
|
||||||
if (peer->Startup((unsigned)players, &sd, 1) != RakNet::RAKNET_STARTED)
|
if (peer->Startup((unsigned)players, &sd, 1) != RakNet::RAKNET_STARTED)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
peer->SetMaximumIncomingConnections((unsigned short)(players / 2));
|
peer->SetMaximumIncomingConnections((unsigned short)(players));
|
||||||
|
|
||||||
Networking networking(peer);
|
Networking networking(peer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue