From 76c8c8827da883741ad0353f5a04500a2a1ce59b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 26 Jan 2012 21:23:20 +0100 Subject: [PATCH] get rid of "this command only works on servers" error, because such commands ARE supposed to work on LISTEN servers too, not just DEDICATED! --- commands.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands.cfg b/commands.cfg index c4fa9a230..b3a9062d2 100644 --- a/commands.cfg +++ b/commands.cfg @@ -12,7 +12,8 @@ _if_dedicated alias if_client "" if_client alias if_dedicated "" if_dedicated "alias" qc_cmd_sv "sv_cmd $$*" -if_client "alias" qc_cmd_sv "echo This command only works on servers: sv_cmd $${* !}" +if_client "alias" qc_cmd_sv "sv_cmd $$*" +// if_client "alias" qc_cmd_sv "echo This command only works on servers: sv_cmd $${* !}" if_dedicated "alias" qc_cmd_cl "echo This command only works on clients: cl_cmd $${* !}" if_client "alias" qc_cmd_cl "cl_cmd $$*" if_dedicated "alias" qc_cmd_cmd "echo This command only works on clients: cmd $${* !}" -- 2.39.2