From: z411 Date: Tue, 18 Jan 2022 21:01:17 +0000 (-0300) Subject: Add missing ready anti-flood line X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f659b17d20ac5a2f196e9ce05a986927f6ebe5cd;p=xonotic%2Fxonotic-data.pk3dir.git Add missing ready anti-flood line --- diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index d1ae3c927..c4058ee8e 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -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(); }