From 731bef1325855cf47d94c715e17aa89fd31cde9e Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 26 Apr 2024 21:44:06 +0300 Subject: more music - lose life sound --- src/sliceitoff/game/explodeout.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sliceitoff/game/explodeout.py') diff --git a/src/sliceitoff/game/explodeout.py b/src/sliceitoff/game/explodeout.py index 6cebec5..0349b09 100644 --- a/src/sliceitoff/game/explodeout.py +++ b/src/sliceitoff/game/explodeout.py @@ -32,5 +32,7 @@ class ExplodeOutGroup(pygame.sprite.Group): def do_fadeout(self): """ Just kicks off exploding phase """ + if self.explode: + return sfx.play("glass") self.explode = True -- cgit v1.2.3