Sounds disabling
This commit is contained in:
parent
cea485736e
commit
0d4580c854
1 changed files with 1 additions and 1 deletions
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:
|
||||
|
|
Reference in a new issue