tryChangeClientName, LidgrenHandleConnection, handlePendingClient hooks and some other things

This commit is contained in:
Evil Factory
2021-12-28 12:37:51 -03:00
parent 71e39f1422
commit e6d170329a
7 changed files with 57 additions and 5 deletions
@@ -893,7 +893,7 @@ namespace Barotrauma.Networking
public int MaxPlayers
{
get { return maxPlayers; }
set { maxPlayers = MathHelper.Clamp(value, 1, NetConfig.MaxPlayers); }
set { maxPlayers = MathHelper.Clamp(value, 0, NetConfig.MaxPlayers); }
}
public List<MissionType> AllowedRandomMissionTypes