diff --git a/bashit/bashit b/bashit/bashit index 1992629..5e7bbd6 100755 --- a/bashit/bashit +++ b/bashit/bashit @@ -83,8 +83,10 @@ EOF play_stop_bgm() { if [ "$1" == "play" ] ; then +if [ -f "$2/bgm.ogg" ] ; then play -qV0 $2/bgm.ogg repeat 9999& __bgmPID="$(echo "$!")" +fi elif [ "$1" == "stop" ] ; then if [[ "$__bgmPID" =~ ^[0-9]+$ ]] ; then kill $__bgmPID diff --git a/bashit/sounds/bees/tmp.ogg b/bashit/sounds/bees/tmp.ogg deleted file mode 100644 index 86784b1..0000000 Binary files a/bashit/sounds/bees/tmp.ogg and /dev/null differ