aboutsummaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/music_file.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers/music_file.py b/helpers/music_file.py
index b26a1be..5f4fe76 100644
--- a/helpers/music_file.py
+++ b/helpers/music_file.py
@@ -289,6 +289,9 @@ class MusicFile(Machine):
289 value + int(delta) * self.volume, 289 value + int(delta) * self.volume,
290 self.volume) 290 self.volume)
291 291
292 if not (self.is_loaded_playing() or self.is_loaded_paused()):
293 return
294
292 if fade > 0: 295 if fade > 0:
293 self.gain_effects.append(GainEffect( 296 self.gain_effects.append(GainEffect(
294 "fade", 297 "fade",