From 42d74daaf865db18eece462d82620101c0aecc1f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 13 May 2015 09:31:32 +0100 Subject: [PATCH] Flipped sound logic --- game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.py b/game.py index 7abf8e6..c2cb128 100644 --- a/game.py +++ b/game.py @@ -76,7 +76,7 @@ def play(window, options): return "QUIT" if event.type == pygame.KEYDOWN and event.key in [pygame.K_SPACE, pygame.K_w, pygame.K_UP] and not fired: - if not player.options["Sounds"]: Sounds["shot"].play() + if player.options["Sounds"]: Sounds["shot"].play() temp = Bullet(player, player.options["Textures"]) bullet_group.add(temp) fired = True