else
blinkcolor = "^3";
- if(ready_waiting && !spectatee_status)
+ if(warmup_stage && STAT(WARMUP_TIMELIMIT) <= 0 && srv_minplayers)
+ {
+ Scoreboard_UpdatePlayerTeams(); // ensure numplayers is current
+ if(srv_minplayers - numplayers == 1)
+ s = _("^31^2 more player is needed for the match to start.");
+ else
+ s = sprintf(_("^3%d^2 more players are needed for the match to start."), srv_minplayers - numplayers);
+ InfoMessage(s);
+ }
+ else if(ready_waiting && !spectatee_status)
{
if(ready_waiting_for_me)
- {
- if(warmup_stage)
- s = sprintf(_("%sPress ^3%s%s to end warmup"), blinkcolor, getcommandkey(_("ready"), "ready"), blinkcolor);
- else
- s = sprintf(_("%sPress ^3%s%s once you are ready"), blinkcolor, getcommandkey(_("ready"), "ready"), blinkcolor);
- }
+ s = sprintf(_("%sPress ^3%s%s to end warmup"), blinkcolor, getcommandkey(_("ready"), "ready"), blinkcolor);
else
- {
- if(warmup_stage)
- s = _("^2Waiting for others to ready up to end warmup...");
- else
- s = _("^2Waiting for others to ready up...");
- }
+ s = _("^2Waiting for others to ready up to end warmup...");
InfoMessage(s);
}
else if(warmup_stage && !spectatee_status)