From 0d4580c854f9cc64231ee61831829173011f2a54 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 12 May 2015 22:48:12 +0100 Subject: [PATCH] Sounds disabling --- game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.py b/game.py index dd16dc7..2e69ea3 100644 --- a/game.py +++ b/game.py @@ -75,8 +75,8 @@ def play(window, options): return "QUIT" if event.type == pygame.KEYDOWN and event.key == pygame.K_SPACE: + if not player.options["Sounds"]: Sounds["shot"].play() temp = Bullet(player, player.options["Textures"]) - Sounds["shot"].play() bullet_group.add(temp) if event.type == pygame.KEYDOWN and event.key == pygame.K_KP_PLUS: