Browse Source

Fixed graceful select order

pull/1433/head
Marvin Lehmann 8 years ago
parent
commit
441ff90712
  1. 16
      lgsm/functions/command_stop.sh

16
lgsm/functions/command_stop.sh

@ -259,18 +259,18 @@ fn_stop_graceful_terraria(){
fn_stop_graceful_select(){
if [ "${gamename}" == "7 Days To Die" ]; then
fn_stop_graceful_sdtd
elif [ "${gamename}" == "Factorio" ]||[ "${gamename}" == "Minecraft" ]||[ "${gamename}" == "Multi Theft Auto" ]||[ "${engine}" == "unity3d" ]||[ "${engine}" == "unreal4" ]||[ "${engine}" == "unreal3" ]||[ "${engine}" == "unreal2" ]||[ "${engine}" == "unreal" ]||[ "${gamename}" == "Mumble" ]; then
fn_stop_graceful_ctrlc
elif [ "${engine}" == "source" ]||[ "${engine}" == "quake" ]||[ "${engine}" == "idtech2" ]||[ "${engine}" == "idtech3" ]||[ "${engine}" == "idtech3_ql" ]||[ "${engine}" == "Just Cause 2" ]; then
fn_stop_graceful_quit
elif [ "${engine}" == "goldsource" ]; then
fn_stop_graceful_goldsource
elif [ "${gamename}" == "Terraria" ]; then
fn_stop_graceful_terraria
elif [ "${engine}" == "lwjgl2" ]; then
fn_stop_graceful_minecraft
elif [ "${engine}" == "renderware" ]; then
fn_stop_graceful_mta
elif [ "${engine}" == "terraria" ]; then
fn_stop_graceful_terraria
elif [ "${engine}" == "goldsource" ]; then
fn_stop_graceful_goldsource
elif [ "${gamename}" == "Factorio" ]||[ "${gamename}" == "Minecraft" ]||[ "${gamename}" == "Multi Theft Auto" ]||[ "${engine}" == "unity3d" ]||[ "${engine}" == "unreal4" ]||[ "${engine}" == "unreal3" ]||[ "${engine}" == "unreal2" ]||[ "${engine}" == "unreal" ]||[ "${gamename}" == "Mumble" ]; then
fn_stop_graceful_ctrlc
elif [ "${engine}" == "source" ]||[ "${engine}" == "quake" ]||[ "${engine}" == "idtech2" ]||[ "${engine}" == "idtech3" ]||[ "${engine}" == "idtech3_ql" ]||[ "${engine}" == "Just Cause 2" ]; then
fn_stop_graceful_quit
else
fn_stop_tmux
fi

Loading…
Cancel
Save