Echo server say/tell/sayto message to console

This commit is contained in:
Zack Middleton 2017-07-24 20:55:14 -05:00
parent 356ae10ef6
commit fa034c17ec

View file

@ -1260,6 +1260,7 @@ static void SV_ConSay_f(void) {
strcat(text, p);
Com_Printf("%s\n", text);
SV_SendServerCommand(NULL, "chat \"%s\"", text);
}
@ -1299,6 +1300,7 @@ static void SV_ConTell_f(void) {
strcat(text, p);
Com_Printf("%s\n", text);
SV_SendServerCommand(cl, "chat \"%s\"", text);
}
@ -1364,6 +1366,7 @@ static void SV_ConSayto_f(void) {
strcat(text, p);
Com_Printf("%s\n", text);
SV_SendServerCommand(saytocl, "chat \"%s\"", text);
}