summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 58ad321..7a81133 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1927,8 +1927,9 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
&& ent->client->covidKind < COVID_RECOVERED )
goto spawn_healthy;
}
-
- trap_SendServerCommand( ent - g_entities, "print \"^1COVID^7: You're patient zero.\n\"" );
+
+ if( g_covidDebug.integer )
+ trap_SendServerCommand( ent - g_entities, "print \"^1COVID^7: You're patient zero.\n\"" );
G_ContractCoronavirus( ent );
}
spawn_healthy: