summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkai <kai@zittrig.eu>2020-06-12 18:00:29 +0100
committerkai <kai@zittrig.eu>2020-06-12 18:00:29 +0100
commit9f7bad9620c2158ebd3a31018b62bcb47eaf0087 (patch)
treef3ea5a62b62e887c692e402174604fcf98e1ce5e
parent98da52f6c0428753cf290381340308c979c1277b (diff)
the console now speaks with green text, and the 'console' name
-rw-r--r--src/game/g_svcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index f0d45b1..56ddbf1 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -740,7 +740,7 @@ qboolean ConsoleCommand( void )
{
if( Q_stricmp( cmd, "say" ) == 0 )
{
- trap_SendServerCommand( -1, va( "print \"server: %s\n\"", ConcatArgs( 1 ) ) );
+ trap_SendServerCommand( -1, va( "print \"console: ^2%s\n\"", ConcatArgs( 1 ) ) );
return qtrue;
}
else if( !Q_stricmp( cmd, "chat" ) )