diff --git a/main.c b/main.c index 5d47a82..349474f 100644 --- a/main.c +++ b/main.c @@ -321,7 +321,10 @@ int main(void) } if (game_state == PLAYING) { - timer += GetFrameTime(); + if (need_to_fill) + timer = 0; + else + timer += GetFrameTime(); snprintf(timer_text, sizeof(timer_text), "%d", (int) timer); }