diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 386ff61..bb66dc1 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -63,4 +63,5 @@ Halle Jones|HJones@aliacy.com|| [Sheena O'Connell](https://github.com/sheenarbw) | [@sheena@fosstodon.org](https://fosstodon.org/@sheena) | [blog](https://sheenaoc.com/) | [Quinn Redwoods](https://github.com/qredwoods) | | | [Jeff Epler](https://github.com/jepler) | | | -[Mary Clark](https://github.com/marymclark) | [me@maryclark.net](me@maryclark.net) | | +[Mary Clark](https://github.com/marymclark) | [me@maryclark.net](me@maryclark.net) | | +[KeVeon White](https://github.com/ams0x2a) | | | diff --git a/src/ppb/systems/clocks.py b/src/ppb/systems/clocks.py index b675cef..9ceb8b1 100644 --- a/src/ppb/systems/clocks.py +++ b/src/ppb/systems/clocks.py @@ -10,10 +10,7 @@ class Updater(System): def __init__(self, time_step=0.016, **kwargs): - self.accumulated_time = 0 - self.last_tick = None - self.start_time = None - self.time_step = time_step + super().__init__(accumulated_time=0, last_tick=None, start_time=None, time_step=time_step, **kwargs) def __enter__(self): self.start_time = ppb.get_time()