mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 14:36:40 -04:00
Fix maximum incoming connections
This commit is contained in:
parent
b09e4a0218
commit
ce92f30022
@ -122,7 +122,7 @@ int main(int argc, char *argv[])
|
||||
if (peer->Startup((unsigned)players, &sd, 1) != RakNet::RAKNET_STARTED)
|
||||
return 0;
|
||||
|
||||
peer->SetMaximumIncomingConnections((unsigned short)(players / 2));
|
||||
peer->SetMaximumIncomingConnections((unsigned short)(players));
|
||||
|
||||
Networking networking(peer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user