summaryrefslogtreecommitdiff
path: root/src/sliceitoff/game/explodeout.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-26 21:44:06 +0300
committerViljami Ilola <+@hix.fi>2024-04-26 21:44:06 +0300
commit731bef1325855cf47d94c715e17aa89fd31cde9e (patch)
tree6271596c22f2de424df63d5ff7ea411b56ad21ba /src/sliceitoff/game/explodeout.py
parent54a17d969c85e150486e0960e90ab166e945c359 (diff)
more music - lose life sound
Diffstat (limited to 'src/sliceitoff/game/explodeout.py')
-rw-r--r--src/sliceitoff/game/explodeout.py2
1 files changed, 2 insertions, 0 deletions
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