From 441ff9071253086d1eb37ceb7eeb024db9309626 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Thu, 11 May 2017 23:14:43 +0200 Subject: [PATCH] Fixed graceful select order --- lgsm/functions/command_stop.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index 37cc54c11..a66886a93 100644 --- a/lgsm/functions/command_stop.sh +++ b/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