- //show restart countdown:
- if (time < STAT(GAMESTARTTIME)) {
- float countdown;
- //we need to ceil, otherwise the countdown would be off by .5 when using round()
- countdown = ceil(STAT(GAMESTARTTIME) - time);
- s = sprintf(_("^1Game starts in ^3%d^1 seconds"), countdown);
- drawInfoMessage(s);
- }
+ if (time < STAT(GAMESTARTTIME))
+ {
+ //we need to ceil, otherwise the countdown would be off by .5 when using round()
+ float countdown = ceil(STAT(GAMESTARTTIME) - time);
+ s = sprintf(_("^1Game starts in ^3%d^1 seconds"), countdown);
+ drawInfoMessage(s);