readded OP sound
This commit is contained in:
parent
8f56f52980
commit
230c2db7ec
1 changed files with 1 additions and 1 deletions
2
game.py
2
game.py
|
@ -88,7 +88,7 @@ def play(window, options):
|
||||||
if event.type == pygame.KEYDOWN and event.key == pygame.K_KP_PLUS:
|
if event.type == pygame.KEYDOWN and event.key == pygame.K_KP_PLUS:
|
||||||
if not player.options["Sounds"] or not player.OP:
|
if not player.options["Sounds"] or not player.OP:
|
||||||
Sounds["main"].stop()
|
Sounds["main"].stop()
|
||||||
#Sounds["OP"].play(loops=-1)
|
Sounds["OP"].play(loops=-1)
|
||||||
player.OP = True
|
player.OP = True
|
||||||
player.change_colour((255,96,0))
|
player.change_colour((255,96,0))
|
||||||
elif player.OP:
|
elif player.OP:
|
||||||
|
|
Reference in a new issue