]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qh
Give bots genuine ready status, fixes not appearing ready until a human is ready
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qh
index 7c96223a71318d736040fa6fa5d091275843c564..d92c6a0656d05066dd0c7a182681c7ad8847b0db 100644 (file)
@@ -62,11 +62,11 @@ void VoteCommand(int request, entity caller, int argc, string vote_command);
 // warmup and nagger stuff
 const float RESTART_COUNTDOWN = 10;
 entity nagger;
-float readycount;                  // amount of players who are ready
-.float ready;                      // flag for if a player is ready
+int readycount;                    // amount of players who are ready
+.bool 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) 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)
 void reset_map(float dorespawn, bool is_fake_round_start);
 void ReadyCount();