(d2accb97f) Restrict server name length to 60 characters, prevent long server names from overflowing in the "host server" menu & server lobby

This commit is contained in:
Joonas Rikkonen
2019-06-12 16:42:33 +03:00
parent e38c896d42
commit cd5f8735e7
4 changed files with 17 additions and 3 deletions
@@ -10,6 +10,8 @@ namespace Barotrauma.Networking
public const int MaxPlayers = 16;
public const int ServerNameMaxLength = 60;
public static string MasterServerUrl = GameMain.Config.MasterServerUrl;
//if a Character is further than this from the sub and the players, the server will disable it