Commit 307cc753 authored by Federico Meloda's avatar Federico Meloda

fixed fadeout

parent 96ba3bb7
...@@ -8,7 +8,7 @@ import configparser ...@@ -8,7 +8,7 @@ import configparser
# fade out # fade out
def endMission(): def endMission():
pg.mixer.Channel(0).fadeout(5) pg.mixer.Channel(0).fadeout(2000)
pass pass
...@@ -29,7 +29,7 @@ def main(): ...@@ -29,7 +29,7 @@ def main():
stageTwo = pg.mixer.Sound('sounds/stageTwo.ogg') stageTwo = pg.mixer.Sound('sounds/stageTwo.ogg')
# tempo di fine suono dopo secondo modulo # tempo di fine suono dopo secondo modulo
t = Timer(30.0, endMission) t = Timer(15.0, endMission)
# Socket to talk to server # Socket to talk to server
context = zmq.Context() context = zmq.Context()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment