From f3de875324a125ba244876f1ce7e6a66c0cb758f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 16 Dec 2017 19:45:26 +0000 Subject: [PATCH] added graceful shutdown for NS2 and NS2C --- lgsm/functions/command_stop.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index 1d5f37473..4b117752e 100644 --- a/lgsm/functions/command_stop.sh +++ b/lgsm/functions/command_stop.sh @@ -180,6 +180,8 @@ fn_stop_graceful_sdtd(){ fn_stop_graceful_select(){ if [ "${gamename}" == "7 Days To Die" ]; then fn_stop_graceful_sdtd + elif [ "${engine}" == "Spark" ]; then + fn_stop_graceful_cmd "q" 30 elif [ "${gamename}" == "Terraria" ]; then fn_stop_graceful_cmd "exit" 30 elif [ "${gamename}" == "Minecraft" ]; then