1
Fork 0

readded OP sound

This commit is contained in:
Jake Howard 2015-05-21 13:21:46 +01:00
parent 8f56f52980
commit 230c2db7ec

View file

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