From fc89b93afec5495bdc74dbe1e63b24569aeaddfa Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 26 Aug 2019 03:50:33 +1000 Subject: [PATCH] Don't respond to color/topcolor/bottomcolor commands in teamplay modes --- qcsrc/server/command/cmd.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 911012a856..83c4768332 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -883,6 +883,7 @@ void SV_ParseClientCommand(entity this, string command) case "prespawn": break; // handled by engine in host_cmd.c case "sentcvar": break; // handled by server in this file case "spawn": break; // handled by engine in host_cmd.c + case "color": case "topcolor": case "bottomcolor": if(teamplay) return; else break; // handled by engine in host_cmd.c case "c2s": Net_ClientCommand(this, command); return; // handled by net.qh default: -- 2.39.2