changeset 188:aebd4fd5b561

no_sound error handler should also disable music
author Neil Muller <neil@dip.sun.ac.za>
date Wed, 25 Aug 2010 17:04:06 +0200
parents fbfd8e748ac0
children c18ef647ffe6
files gamelib/sound.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/sound.py	Wed Aug 25 16:45:06 2010 +0200
+++ b/gamelib/sound.py	Wed Aug 25 17:04:06 2010 +0200
@@ -41,6 +41,7 @@
     print "get_sound: %s" % e
     print "get_sound: Sound not available, continuing without it"
     sound_cache = None
+    albow.music.music_enabled = False
 
 def disable_sound():
     global sound_cache