fix: address music not playing

This commit is contained in:
2021-07-07 21:53:55 -04:00
parent 123d1e7817
commit f3479e2be5

View File

@@ -51,7 +51,7 @@ class Game:
self.stack = Stack(ConfigurationManager.get("color", "stack-1"), ConfigurationManager.get("color", "stack-border-1"))
self.score = 0
self.main_music.set_volume(0.7) # TODO add volume to the config
self.main_music.play(ConfigurationManager.get("sound", "main-music"), -1)
self.main_music.play(mixer.Sound(ConfigurationManager.get("sound", "main-music")), -1)
# gets called from the games main loop
def update(self) -> None: