X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=helpers%2Faction.py;h=42a08d0b875136ab4459abf4ea9ea239a496227d;hb=92cc4ce2e6d3372c167117c55069cad8a2e69965;hp=1cb168650c765301039a48132f34eb2684119c26;hpb=b58b8220c1f3f20e97ca806cf8db0e334b920f4c;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git diff --git a/helpers/action.py b/helpers/action.py index 1cb1686..42a08d0 100644 --- a/helpers/action.py +++ b/helpers/action.py @@ -69,7 +69,7 @@ class Action: music.stop(fade_out = fade_out) else: if fade_out > 0: - pygame.fadeout(fade_out * 1000) + pygame.fadeout(int(fade_out * 1000)) else: pygame.mixer.stop()