Minor networking fixes
- Don't spam the shit out of status updates (TODO: send update immediately on drastic changes) - Fixed some potential message misreading - Readded homoglyph name comparison
This commit is contained in:
@@ -126,7 +126,7 @@ namespace Barotrauma.Networking
|
||||
|
||||
public static bool IsValidName(string name)
|
||||
{
|
||||
if (name.Contains("\n") || name.Contains("\r\n")) return false;
|
||||
if (name.Contains("\n") || name.Contains("\r")) return false;
|
||||
|
||||
return (name.All(c =>
|
||||
c != ';' &&
|
||||
|
||||
Reference in New Issue
Block a user