]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qh
Added anti-flood to ready command
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qh
index 63c9e8e453765892bff4823cc41de0e7865e1453..7c96223a71318d736040fa6fa5d091275843c564 100644 (file)
@@ -64,6 +64,7 @@ const float RESTART_COUNTDOWN = 10;
 entity nagger;
 float readycount;                  // amount of players who are ready
 .float ready;                      // flag for if a player is ready
+.float last_ready;                 // last ready time for anti-spam
 .int team_saved;                   // team number to restore upon map reset
 .void(entity this) reset;             // if set, an entity is reset using this
 .void(entity this) reset2;         // if set, an entity is reset using this (after calling ALL the reset functions for other entities)