]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
send cl_allow_uid2name to the server on F1
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 7 Oct 2011 13:15:14 +0000 (15:15 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 7 Oct 2011 13:15:37 +0000 (15:15 +0200)
qcsrc/client/Main.qc

index 606123ad1c1d2c2ba4696b3f792bc8eb05a65e89..606bbc92bd6d8d9f0492aed55398d454af10111c 100644 (file)
@@ -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;
         }