From a0bbb0d5a8da90836d8471b303f0f5fecaaa18c3 Mon Sep 17 00:00:00 2001 From: Samual Date: Thu, 10 Nov 2011 23:53:46 -0500 Subject: [PATCH] Update to the last commit a bit :D --- qcsrc/client/gamecommand.qc | 2 +- qcsrc/server/gamecommand.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/gamecommand.qc b/qcsrc/client/gamecommand.qc index 65bf3f63a..2d66d4228 100644 --- a/qcsrc/client/gamecommand.qc +++ b/qcsrc/client/gamecommand.qc @@ -334,7 +334,7 @@ void GameCommand(string command) } // nothing above caught the command, must be invalid - print("Invalid command", (command ? strcat(" '", command, "'") : ""), ". For a list of supported commands, try cl_cmd help.\n"); + print("Unknown client command", ((command != "") ? strcat(" \"", command, "\"") : ""), ". For a list of supported commands, try cl_cmd help.\n"); return; } diff --git a/qcsrc/server/gamecommand.qc b/qcsrc/server/gamecommand.qc index 35fa70ace..1c69eced6 100644 --- a/qcsrc/server/gamecommand.qc +++ b/qcsrc/server/gamecommand.qc @@ -1993,7 +1993,7 @@ void GameCommand(string command) } // nothing above caught the command, must be invalid - print("Invalid command", (command ? strcat(" '", command, "'") : ""), ". For a list of supported commands, try sv_cmd help.\n"); + print("Unknown server command", ((command != "") ? strcat(" \"", command, "\"") : ""), ". For a list of supported commands, try sv_cmd help.\n"); return; } \ No newline at end of file -- 2.39.2