@ -259,18 +259,18 @@ fn_stop_graceful_terraria(){
fn_stop_graceful_select( ) {
fn_stop_graceful_select( ) {
if [ " ${ gamename } " = = "7 Days To Die" ] ; then
if [ " ${ gamename } " = = "7 Days To Die" ] ; then
fn_stop_graceful_sdtd
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
elif [ " ${ gamename } " = = "Terraria" ] ; then
fn_stop_graceful_ctrlc
fn_stop_graceful_terraria
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 [ " ${ engine } " = = "lwjgl2" ] ; then
elif [ " ${ engine } " = = "lwjgl2" ] ; then
fn_stop_graceful_minecraft
fn_stop_graceful_minecraft
elif [ " ${ engine } " = = "renderware" ] ; then
elif [ " ${ engine } " = = "renderware" ] ; then
fn_stop_graceful_mta
fn_stop_graceful_mta
elif [ " ${ engine } " = = "terraria" ] ; then
elif [ " ${ engine } " = = "goldsource" ] ; then
fn_stop_graceful_terraria
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
else
fn_stop_tmux
fn_stop_tmux
fi
fi