Flipped sound logic
This commit is contained in:
parent
51f8d3e4eb
commit
42d74daaf8
1 changed files with 1 additions and 1 deletions
2
game.py
2
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
|
||||
|
|
Reference in a new issue