Don't append a '\' at the beginning during autocompletion

This commit is contained in:
smallmodel 2024-08-08 20:44:00 +02:00
parent 9150d1cc44
commit 513fe7773f
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -2596,6 +2596,7 @@ void Field_CompleteCommand(char* cmd,
else
completionString = Cmd_Argv(completionArgument - 1);
#if 0
#ifndef DEDICATED
// add a '\' to the start of the buffer if it might be sent as chat otherwise
if (con_autochat->integer && completionField->buffer[0] &&
@ -2616,6 +2617,7 @@ void Field_CompleteCommand(char* cmd,
completionField->buffer[0] = '\\';
}
#endif
#endif
if (completionArgument > 1)