mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Rename game.maxplayers to net.max_connections, raise to 256. (#3552)
This commit is contained in:
committed by
GitHub
parent
342d9ed2cd
commit
3f86f5f5dd
@@ -588,7 +588,7 @@ namespace Robust.Shared.Network
|
||||
if (IsServer)
|
||||
{
|
||||
netConfig.SetMessageTypeEnabled(NetIncomingMessageType.ConnectionApproval, true);
|
||||
netConfig.MaximumConnections = _config.GetCVar(CVars.GameMaxPlayers);
|
||||
netConfig.MaximumConnections = _config.GetEffectiveMaxConnections();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user