Browse Source

Added graceful stop support for Project Zomboid

pull/1638/head
Marvin Lehmann 8 years ago
parent
commit
e6bd1a12f0
  1. 2
      lgsm/functions/command_stop.sh

2
lgsm/functions/command_stop.sh

@ -191,7 +191,7 @@ fn_stop_graceful_select(){
fn_stop_graceful_goldsource
elif [ "${gamename}" == "Factorio" ]||[ "${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
elif [ "${engine}" == "source" ]||[ "${engine}" == "quake" ]||[ "${engine}" == "idtech2" ]||[ "${engine}" == "idtech3" ]||[ "${engine}" == "idtech3_ql" ]||[ "${engine}" == "Just Cause 2" ]||[ "${engine}" == "projectzomboid" ]; then
fn_stop_graceful_cmd "quit" 30
else
fn_stop_tmux

Loading…
Cancel
Save