]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add missing ready anti-flood line
authorz411 <z411@omaera.org>
Tue, 18 Jan 2022 21:01:17 +0000 (18:01 -0300)
committerz411 <z411@omaera.org>
Tue, 18 Jan 2022 21:01:17 +0000 (18:01 -0300)
qcsrc/server/command/cmd.qc

index d1ae3c9279914270f4942815d632f6b330d45961..c4058ee8e236340009168061ccef9304085a8406 100644 (file)
@@ -391,6 +391,8 @@ void ClientCommand_ready(entity caller, int request)
                                                        bprint("\{1}", playername(caller.netname, caller.team, false), "^2 is ready\n");
                                        }
 
+                                       caller.last_ready = time;
+
                                        // cannot reset the game while a timeout is active!
                                        if (!timeout_status) ReadyCount();
                                }