]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - xonotic-linux-sdl.sh
Fix typo causing empty directory error
[xonotic/xonotic.git] / xonotic-linux-sdl.sh
index becfe8865106b4ab587b54951db34c4168375114..f96c83f9d0af0ed70632c8e1c517f1a0875c4b13 100755 (executable)
@@ -122,13 +122,4 @@ case "$xserver" in
                ;;
 esac
 
-# if pulseaudio
-if [ -z "$SDL_AUDIODRIVER" ]; then
-       if ps -C pulseaudio >/dev/null; then
-               if ldd /usr/lib/libSDL.so 2>/dev/null | grep pulse >/dev/null; then
-                       export SDL_AUDIODRIVER=pulse
-               fi
-       fi
-fi
-
 exec "$@"