Oh my god I'm stupid, fixed game not launching
This commit is contained in:
1
game.py
1
game.py
@ -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.
|
#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
|
||||||
|
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")
|
||||||
self.playMusic(-1)
|
self.playMusic(-1)
|
||||||
|
|||||||
Reference in New Issue
Block a user