Fix maximum incoming connections

pull/1/head
Stanislav Zhukov 9 years ago
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…
Cancel
Save