#! /bin/sh /usr/share/dpatch/dpatch-run ## 16-no_sound_device.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad 0.8.1-1/src/sound.py /tmp/dpep.iLbGGB/0.8.1-1/src/sound.py --- 0.8.1-1/src/sound.py 2006-06-21 02:12:21.000000000 -0500 +++ /tmp/dpep.iLbGGB/0.8.1-1/src/sound.py 2006-06-21 12:59:40.000000000 -0500 @@ -30,6 +30,9 @@ play_music() def sound_off(): + if not pygame.mixer.get_init(): + return + # effects cannon = DummySound() wall_hit = DummySound()