]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/banning.qc
Port movement and movement_old to ClientState
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / banning.qc
index 8a35bec2925c2f89658dfe7145308e56dabb0c2a..446c69de40f9d1da5732fd4863a362469062f39f 100644 (file)
@@ -131,7 +131,7 @@ void BanCommand_mute(float request, float argc, string command)  // TODO: Add a
 
                                if (accepted > 0)
                                {
-                                       client.muted = true;
+                                       CS(client).muted = true;
                                        return;
                                }
                                else
@@ -212,7 +212,7 @@ void BanCommand_unmute(float request, float argc)
 
                                if (accepted > 0)
                                {
-                                       client.muted = false;
+                                       CS(client).muted = false;
                                        return;
                                }
                                else