Commit 42d74daa authored by Jake Howard's avatar Jake Howard
Browse files

Flipped sound logic

parent 51f8d3e4
......@@ -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"])
fired = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment