aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-06-25 23:21:22 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-06-25 23:21:22 +0200
commit9d505ec9accd9a84bc6f22f4118bed9669c32fc8 (patch)
treeedbffd79c498dba8521ba68469b5bb44c4d7b17a
parentcd255f24c1a3b199c2b446537aff60be767676d4 (diff)
downloadMusicSampler-9d505ec9accd9a84bc6f22f4118bed9669c32fc8.tar.gz
MusicSampler-9d505ec9accd9a84bc6f22f4118bed9669c32fc8.tar.zst
MusicSampler-9d505ec9accd9a84bc6f22f4118bed9669c32fc8.zip
Fix global fadout
-rw-r--r--helpers/action.py2
1 files changed, 1 insertions, 1 deletions
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:
69 music.stop(fade_out = fade_out) 69 music.stop(fade_out = fade_out)
70 else: 70 else:
71 if fade_out > 0: 71 if fade_out > 0:
72 pygame.fadeout(int(fade_out * 1000)) 72 pygame.mixer.fadeout(int(fade_out * 1000))
73 else: 73 else:
74 pygame.mixer.stop() 74 pygame.mixer.stop()
75 75