diff options
Diffstat (limited to 'transition.sh')
-rw-r--r-- | transition.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/transition.sh b/transition.sh index 88397123a0bd..13e38aeafdfc 100644 --- a/transition.sh +++ b/transition.sh @@ -3,4 +3,14 @@ unset SESSION_MANAGER # If default openssl is 1.1.1, the updater will crash -LD_RUN_PATH=/usr/lib/openssl-1.0 /opt/ankama/transition/transition "$@" +export LD_RUN_PATH=/usr/lib/openssl-1.0 + +transition=/opt/ankama/transition/transition + +# If in PulseAudio, need padsp for the game to play sounds +if which padsp > /dev/null +then + padsp "$transition" "$@" +else + "$transition" "$@" +fi |