From 6fc98cffcb5693d2d430b1eff460016d2e623d93 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 9 Dec 2010 22:51:04 +0100 Subject: [PATCH] do NOT call cvar() again, do it right --- qcsrc/server/teamplay.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 4905a8f8d9..c690210d83 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -517,7 +517,7 @@ void PrintWelcomeMessage(entity pl) modifications = strcat(modifications, ", No start weapons"); if(autocvar_sv_gravity < 800) modifications = strcat(modifications, ", Low gravity"); - if(cvar("g_cloaked")) + if(g_cloaked && !g_cts) modifications = strcat(modifications, ", Cloaked"); if(g_grappling_hook) modifications = strcat(modifications, ", Hook"); -- 2.39.2