diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-26 12:08:06 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-26 12:08:06 +0300 |
commit | 54a17d969c85e150486e0960e90ab166e945c359 (patch) | |
tree | f76e57dddb2ad92fc043c48ea1bb118207b06c73 /src/sliceitoff/game/mainmenu.py | |
parent | 2d94bb60ff2fea09097d0e33dfd8b92aeef55531 (diff) |
initial music
Diffstat (limited to 'src/sliceitoff/game/mainmenu.py')
-rw-r--r-- | src/sliceitoff/game/mainmenu.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |