diff --git a/steam_saver/surfaces/steam_screen.py b/steam_saver/surfaces/steam_screen.py index aa51e9b..256ee7e 100644 --- a/steam_saver/surfaces/steam_screen.py +++ b/steam_saver/surfaces/steam_screen.py @@ -20,7 +20,7 @@ class SteamLogo(pygame.sprite.Sprite): is_mini (bool): Bool to determine whether the logo is a mini (background) logo or not. """ - def __init__(self, window_size: tuple, is_mini: bool = False): + def __init__(self, window_size: tuple, is_mini: bool = False, *groups): """ Initialize SteamLogo sprite with given window size. @@ -28,8 +28,8 @@ class SteamLogo(pygame.sprite.Sprite): window_size (tuple): Size of the game window (width, height). is_mini (bool): Determines if the logo is going to be a background logo (mini) or the foreground one. """ - super().__init__() + super().__init__(*groups) self.is_mini = is_mini # Load and scale original logo image