From d885fd40300a7dc8067b362f496c91be61128d39 Mon Sep 17 00:00:00 2001 From: Nicholas Dyer Date: Tue, 7 Jan 2025 09:22:21 -0500 Subject: [PATCH] fixed bug where logos would only spawn on the left half of screen --- steam_saver/surfaces/steam_screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam_saver/surfaces/steam_screen.py b/steam_saver/surfaces/steam_screen.py index d3e0089..60541e1 100644 --- a/steam_saver/surfaces/steam_screen.py +++ b/steam_saver/surfaces/steam_screen.py @@ -66,7 +66,7 @@ class SteamLogo(pygame.sprite.Sprite): # speed values (e.g. 2.124) and it will appear as though it is moving smoothly. # The starting location of the logo is randomized. - self.float_x = random.random() * self.max_y + self.float_x = random.random() * self.max_x self.float_y = random.random() * self.max_y self.rect.x = self.float_x self.rect.y = self.float_y