From: Ismaƫl Bouya Date: Sat, 25 Jun 2016 21:21:22 +0000 (+0200) Subject: Fix global fadout X-Git-Tag: 1.0.0~82 X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git;a=commitdiff_plain;h=9d505ec9accd9a84bc6f22f4118bed9669c32fc8 Fix global fadout --- diff --git a/helpers/action.py b/helpers/action.py index 42a08d0..d4c6252 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(int(fade_out * 1000)) + pygame.mixer.fadeout(int(fade_out * 1000)) else: pygame.mixer.stop()