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

fixed fadeout

parent 96ba3bb7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ import configparser

# fade out
def endMission():
    pg.mixer.Channel(0).fadeout(5)
    pg.mixer.Channel(0).fadeout(2000)
    pass


@@ -29,7 +29,7 @@ def main():
    stageTwo = pg.mixer.Sound('sounds/stageTwo.ogg')

    # tempo di fine suono dopo secondo modulo
    t = Timer(30.0, endMission)
    t = Timer(15.0, endMission)

    # Socket to talk to server
    context = zmq.Context()