diff options
Diffstat (limited to 'src/sliceitoff/game/show.py')
-rw-r--r-- | src/sliceitoff/game/show.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sliceitoff/game/show.py b/src/sliceitoff/game/show.py index 94e2540..0fb6e05 100644 --- a/src/sliceitoff/game/show.py +++ b/src/sliceitoff/game/show.py @@ -14,7 +14,6 @@ class Show(pygame.sprite.Group): def update(self, dt = 0, **kwargs): """ First timeout then fadeout and then inactivity """ - super().update(dt = dt, explode = self.explode, **kwargs) if self.fadeout <= 0: self.active = False elif self.timeout <= 0: @@ -26,6 +25,8 @@ class Show(pygame.sprite.Group): if anykey(): self.timeout = 0 self.timeout -= dt + for sprite in self.sprites(): + sprite.update(dt = dt, explode = self.explode, **kwargs) def sprites(self): """ Return sprites only when active """ |