Countdown Timer

Issue #7 resolved
Geoff Joy created an issue

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)

  1. Geoff Joy reporter

    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.

  2. Log in to comment