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/mainmenu.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sliceitoff/game/mainmenu.py') diff --git a/src/sliceitoff/game/mainmenu.py b/src/sliceitoff/game/mainmenu.py index edb1594..f9a70e0 100644 --- a/src/sliceitoff/game/mainmenu.py +++ b/src/sliceitoff/game/mainmenu.py @@ -4,6 +4,7 @@ import pygame from sliceitoff.screens import mainmenu_screen from sliceitoff.display import Scaling +from sliceitoff.sfx import sfx from .explodeout import ExplodeOutGroup @@ -63,6 +64,7 @@ class Mainmenu(ExplodeOutGroup): case pygame.K_ESCAPE | pygame.K_q | pygame.K_LEFT: self.selection = MenuItems.QUIT self.do_fadeout() + sfx.music(None) return True case pygame.K_UP: self.selection -= 1 -- cgit v1.2.3