Browse Source

stop OP music when you press the button again

master
Jake Howard 6 years ago
parent
commit
51f8d3e4eb
  1. 1
      game.py

1
game.py

@ -86,6 +86,7 @@ def play(window, options):
Sounds["main"].stop()
Sounds["OP"].play(loops=-1)
player.OP = True
else: Sounds["OP"].stop()
keys = pygame.key.get_pressed()
if keys[pygame.K_RIGHT] or keys[pygame.K_d]:

Loading…
Cancel
Save