Mercurial > boomslang
diff gamelib/sound.py @ 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 | d2f94f42edf3 |
children | 7b07ffc37ec0 |
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