Added space and exclamation point to default AllowedClientNameChars
This commit is contained in:
@@ -380,7 +380,7 @@ namespace Barotrauma.Networking
|
|||||||
GameMain.NetLobbyScreen.SetTraitorsEnabled(traitorsEnabled);
|
GameMain.NetLobbyScreen.SetTraitorsEnabled(traitorsEnabled);
|
||||||
|
|
||||||
//"65-90", "97-122", "48-59" = upper and lower case english alphabet and numbers
|
//"65-90", "97-122", "48-59" = upper and lower case english alphabet and numbers
|
||||||
string[] allowedClientNameCharsStr = doc.Root.GetAttributeStringArray("AllowedClientNameChars", new string[] { "65-90", "97-122", "48-59" });
|
string[] allowedClientNameCharsStr = doc.Root.GetAttributeStringArray("AllowedClientNameChars", new string[] { "32-33", "65-90", "97-122", "48-59" });
|
||||||
foreach (string allowedClientNameCharRange in allowedClientNameCharsStr)
|
foreach (string allowedClientNameCharRange in allowedClientNameCharsStr)
|
||||||
{
|
{
|
||||||
string[] splitRange = allowedClientNameCharRange.Split('-');
|
string[] splitRange = allowedClientNameCharRange.Split('-');
|
||||||
|
|||||||
Reference in New Issue
Block a user