Browse Source

Sounds disabling

master
Jake Howard 6 years ago
parent
commit
0d4580c854
  1. 2
      game.py

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

Loading…
Cancel
Save