From 54a17d969c85e150486e0960e90ab166e945c359 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 26 Apr 2024 12:08:06 +0300 Subject: initial music --- src/sliceitoff/game/game.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sliceitoff/game/game.py') diff --git a/src/sliceitoff/game/game.py b/src/sliceitoff/game/game.py index a5009c5..c6a5fe0 100644 --- a/src/sliceitoff/game/game.py +++ b/src/sliceitoff/game/game.py @@ -47,6 +47,7 @@ class Game: def show_highscores(self): """ displays highscores and waits a key """ + sfx.music("pimpelipompeli") his = Show(hiscores_screen(str(self.hiscores))) while his.active: his.update(dt = self.clock.tick()) @@ -73,6 +74,7 @@ class Game: def mainmenu(self): """ menu where one select what to do """ + sfx.music("pimpelipompeli") menu = Mainmenu() while menu.active: menu.update(dt = self.clock.tick()) -- cgit v1.2.3