Added motivational comment
This commit is contained in:
2
game.py
2
game.py
@ -68,6 +68,8 @@ class Game(gameUtils.Game):
|
||||
|
||||
#Selects random music to play at the start of the game, might change because I just threw this together.
|
||||
#I feel horrible writing this code this feels super unoptimised :c
|
||||
# Bro I'm gonna be honest, there's not much I'd change about that, you're good.
|
||||
# The only thing I can think if just moving `set_volume()` to after both if statements.
|
||||
self.musicNumber = randint(1,2)
|
||||
if self.musicNumber == 1:
|
||||
pygame.mixer.music.load("./assets/surrounded.ogg")
|
||||
|
||||
Reference in New Issue
Block a user