Added motivational comment

This commit is contained in:
2025-06-24 14:45:16 +01:00
parent 0a2305f4cc
commit c155e11d87

View File

@ -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. #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 #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) self.musicNumber = randint(1,2)
if self.musicNumber == 1: if self.musicNumber == 1:
pygame.mixer.music.load("./assets/surrounded.ogg") pygame.mixer.music.load("./assets/surrounded.ogg")