From: Rudolf Polzer Date: Fri, 7 Oct 2011 13:15:14 +0000 (+0200) Subject: send cl_allow_uid2name to the server on F1 X-Git-Tag: xonotic-v0.6.0~40^2~82 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d7b9e5ba838f6d5f82cfa0cac4a25b43623d0a30;p=xonotic%2Fxonotic-data.pk3dir.git send cl_allow_uid2name to the server on F1 --- diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 606123ad1..606bbc92b 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -595,7 +595,7 @@ void GameCommand(string msg) { vote_active = 0; // force the panel to disappear right as we have selected the value (to prevent it from fading out in the normal vote panel pos) vote_prev = 0; - cvar_set("cl_allow_uid2name", "1"); + localcmd("setreport cl_allow_uid2name 1\n"); vote_change = -9999; uid2name_dialog = 0; } @@ -610,7 +610,7 @@ void GameCommand(string msg) { vote_active = 0; vote_prev = 0; - cvar_set("cl_allow_uid2name", "0"); + localcmd("setreport cl_allow_uid2name 0\n"); vote_change = -9999; uid2name_dialog = 0; }