fix: address music not playing
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user