]> 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 6a9b2b36145e5ec397ab01bbcf782e7fab39e757..446c69de40f9d1da5732fd4863a362469062f39f 100644 (file)
@@ -1,5 +1,5 @@
 #include "banning.qh"
-#include <common/command/_all.qh>
+#include <common/command/_mod.qh>
 #include "banning.qh"
 
 #include "common.qh"
@@ -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