forked from ndyer/pygame-dvd
fixed bug where logos would only spawn on the left half of screen
This commit is contained in:
parent
22f7a60499
commit
d885fd4030
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user