Explorar o código

added graceful shutdown for NS2 and NS2C

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
f3de875324
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lgsm/functions/command_stop.sh

+ 2 - 0
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