From: Rudolf Polzer Date: Thu, 26 Jan 2012 20:23:20 +0000 (+0100) Subject: get rid of "this command only works on servers" error, because such commands ARE... X-Git-Tag: xonotic-v0.6.0~78^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=76c8c8827da883741ad0353f5a04500a2a1ce59b;p=xonotic%2Fxonotic-data.pk3dir.git get rid of "this command only works on servers" error, because such commands ARE supposed to work on LISTEN servers too, not just DEDICATED! --- 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 $${* !}"