diff --git a/Fotobox.py b/Fotobox.py index cef688b..78e62fc 100644 --- a/Fotobox.py +++ b/Fotobox.py @@ -225,6 +225,7 @@ class Fotobox: dt: float = clock.tick(20) / 1000 self._shooting_timer.tick(dt) self._countdown_timer.tick(dt) + self._qr_timer.tick(dt) def _draw(self): screen.fill((0, 0, 0)) @@ -295,6 +296,7 @@ class Fotobox: else: self._choice = None elif new_state == State.QR: + self._qr_timer.restart() screen.fill((0, 0, 0)) screen.blit(LOADING_SURFACE, LOADING_RECT) pygame.display.flip()