# HG changeset patch # User Neil Muller # Date 1282748646 -7200 # Node ID aebd4fd5b561eb0ccdc870c7e23e28bf43c2d581 # Parent fbfd8e748ac0d81c8ec95eb8561c78fd55ab62f6 no_sound error handler should also disable music diff -r fbfd8e748ac0 -r aebd4fd5b561 gamelib/sound.py --- 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