- edited description
Countdown Timer
Issue #7
resolved
Timer displays 10, 8, 7, 6, 5, 4, 3, 2, 1 in HUD at match start and final 10 seconds of match, skipping 9. This is due to computation error in CountDown() function when calculating seconds left.
Suggested remedy: use level.framenum instead of level.time (int vs float) get rid of tenths digit and eliminate use of ceil() function.
Comments (2)
-
reporter -
reporter - changed status to resolved
This is only an issue if warmup time is in the neighborhood of 10 seconds. Changed default warmup_time to 30 seconds and added minimum limit of 30 seconds to GameInit. Set warmup_time "0" still turns it off.
- Log in to comment