From 9d505ec9accd9a84bc6f22f4118bed9669c32fc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 25 Jun 2016 23:21:22 +0200 Subject: [PATCH] Fix global fadout --- helpers/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.41.0