fix: reset game timer on state reset and don't zero timers when stopping them

This commit is contained in:
2023-11-17 18:36:05 +02:00
parent 77435c5095
commit 40f5ccabbe
3 changed files with 2 additions and 4 deletions
-1
View File
@@ -35,7 +35,6 @@ float timer_remaining(Timer *timer) {
}
void timer_stop(Timer *timer) {
timer->time = 0.0f;
timer->is_running = false;
}