X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=helpers%2Faction.py;h=d4c6252db70df932f954cc94e0ef26db75322b55;hb=9d505ec9accd9a84bc6f22f4118bed9669c32fc8;hp=42a08d0b875136ab4459abf4ea9ea239a496227d;hpb=cd255f24c1a3b199c2b446537aff60be767676d4;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git 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()