From d7b9e5ba838f6d5f82cfa0cac4a25b43623d0a30 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 7 Oct 2011 15:15:14 +0200 Subject: [PATCH] send cl_allow_uid2name to the server on F1 --- qcsrc/client/Main.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2