Oh my god I'm stupid, fixed game not launching

This commit is contained in:
2025-06-23 20:19:32 +01:00
parent a6a64cdf69
commit 39045c3882

View File

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