Fix semicolon only message (#7695)
This commit is contained in:
parent
d8fe577464
commit
98c03570ca
|
|
@ -334,6 +334,10 @@ public sealed class ChatSystem : EntitySystem
|
|||
{
|
||||
if (message.StartsWith(';'))
|
||||
{
|
||||
// Special case for ";" messages
|
||||
if (message.Length == 1)
|
||||
return "";
|
||||
|
||||
// Remove semicolon
|
||||
message = message.Substring(1).TrimStart();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue