From: Mario Date: Sun, 25 Aug 2019 17:50:33 +0000 (+1000) Subject: Don't respond to color/topcolor/bottomcolor commands in teamplay modes X-Git-Tag: xonotic-v0.8.5~1367 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fc89b93afec5495bdc74dbe1e63b24569aeaddfa;p=xonotic%2Fxonotic-data.pk3dir.git Don't respond to color/topcolor/bottomcolor commands in teamplay modes --- diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 911012a85..83c476833 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: