1
Fork 0

Sounds disabling

This commit is contained in:
Jake Howard 2015-05-12 22:48:12 +01:00
parent cea485736e
commit 0d4580c854
1 changed files with 1 additions and 1 deletions

View File

@ -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: