From 0ee6c7220d002eb2431ad08a71939d6215aec81e Mon Sep 17 00:00:00 2001 From: z411 Date: Thu, 1 Apr 2021 18:28:00 -0300 Subject: [PATCH] Fixed chat flood while in countdown --- qcsrc/server/chat.qc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/chat.qc b/qcsrc/server/chat.qc index 3f56ca77e..82da61ff2 100644 --- a/qcsrc/server/chat.qc +++ b/qcsrc/server/chat.qc @@ -206,8 +206,9 @@ int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodc flood = 1; } - if (timeout_status == TIMEOUT_ACTIVE) // when game is paused, no flood protection - source.(flood_field) = flood = 0; + // z411 : Why? + //if (timeout_status == TIMEOUT_ACTIVE) // when game is paused, no flood protection + // source.(flood_field) = flood = 0; } string sourcemsgstr, sourcecmsgstr; -- 2.39.2