]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update to the last commit a bit :D
authorSamual <samual@xonotic.org>
Fri, 11 Nov 2011 04:53:46 +0000 (23:53 -0500)
committerSamual <samual@xonotic.org>
Fri, 11 Nov 2011 04:53:46 +0000 (23:53 -0500)
qcsrc/client/gamecommand.qc
qcsrc/server/gamecommand.qc

index 65bf3f63ac935a3584b4741bdac28d6de493a345..2d66d422808b475044b34cbb370e2db084796183 100644 (file)
@@ -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;
 }
index 35fa70ace8c24d305c9f416e1098d3b75c960f82..1c69eced60f4c66bbe740a04f6aaaa7352a51a68 100644 (file)
@@ -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