Adjusted bonus timeout.
This commit is contained in:
parent
c8e9033508
commit
67926c5abb
@ -104,7 +104,7 @@ def game(mode):
|
|||||||
k = pygame.mixer.Channel(0)
|
k = pygame.mixer.Channel(0)
|
||||||
k.play(sounds['kick-hit'])
|
k.play(sounds['kick-hit'])
|
||||||
pygame.event.clear()
|
pygame.event.clear()
|
||||||
if time.time() - bonusTime > 0.85:
|
if time.time() - bonusTime > 0.83:
|
||||||
bonus = False
|
bonus = False
|
||||||
totalTime = time.time()
|
totalTime = time.time()
|
||||||
if int(time.time()) - encourage == 8:
|
if int(time.time()) - encourage == 8:
|
||||||
|
Loading…
Reference in New Issue
Block a user