diff options
Diffstat (limited to 'src/sliceitoff/game')
-rw-r--r-- | src/sliceitoff/game/explodeout.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/game/gameplay.py | 1 |
2 files changed, 3 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 diff --git a/src/sliceitoff/game/gameplay.py b/src/sliceitoff/game/gameplay.py index fe66f50..edbb2a9 100644 --- a/src/sliceitoff/game/gameplay.py +++ b/src/sliceitoff/game/gameplay.py @@ -28,6 +28,7 @@ class Gameplay: self.stats.add_score(-500) sfx.play("laser") if pygame.sprite.spritecollideany(zap_sprite, self.enemies): + sfx.play("baby") self.life.lose_life() if self.stats.lose_life(): return True |