]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
exempt minigame commands from flood control Juhu/minigame_floodcontrol
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 19 Jun 2023 10:30:34 +0000 (12:30 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 19 Jun 2023 10:30:34 +0000 (12:30 +0200)
qcsrc/server/command/cmd.qc

index f93880a682d45d6b50c7983c18778b9968ebc1f4..0f1afa6b3c886be685cb9fb581ed16d93f8cd904 100644 (file)
@@ -1025,6 +1025,7 @@ void SV_ParseClientCommand(entity this, string command)
                case "sentcvar": break;                            // handled by server in this file
                case "spawn": break;                               // handled by engine in host_cmd.c
                case "say": case "say_team": case "tell": break;   // chat has its own flood control in chat.qc
+               case "minigame": break;                            // minigame commands do not require flood control
                case "color": case "topcolor": case "bottomcolor": // handled by engine in host_cmd.c
                        if(!IS_CLIENT(this)) // on connection
                        {