Quellcode durchsuchen

added graceful shutdown for NS2 and NS2C

Daniel Gibbs vor 8 Jahren
Ursprung
Commit
f3de875324
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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