]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed chat flood while in countdown
authorz411 <z411@omaera.org>
Thu, 1 Apr 2021 21:28:00 +0000 (18:28 -0300)
committerz411 <z411@omaera.org>
Thu, 1 Apr 2021 21:28:00 +0000 (18:28 -0300)
qcsrc/server/chat.qc

index 3f56ca77e6b46130fd820cde0e84c66f6db65864..82da61ff2d7a8a5d76fdad2346ba62d51ef0da3d 100644 (file)
@@ -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;