save cooldown for tox profile (10sec after last) and save on exit

This commit is contained in:
2024-03-12 12:39:06 +01:00
parent dc081ae2aa
commit aaf8c6adc1
3 changed files with 10 additions and 5 deletions

View File

@ -376,7 +376,7 @@ Screen* MainScreen::render(float time_delta, bool&) {
}
Screen* MainScreen::tick(float time_delta, bool& quit) {
quit = !tc.iterate(); // compute
quit = !tc.iterate(time_delta); // compute
tcm.iterate(time_delta); // compute