diff --git a/functions/fn_details b/functions/fn_details index 4313a0a8b..055142ee7 100644 --- a/functions/fn_details +++ b/functions/fn_details @@ -640,7 +640,7 @@ rm -f .fn_details_webadmin fn_details_statusbottom } -fn_details_unreal4(){ +fn_details_ark(){ fn_check_ip pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:") fn_parms @@ -707,8 +707,8 @@ elif [ "${engine}" == "unity3d" ]; then fn_details_unity3d elif [ "${engine}" == "unreal" ] || [ "${engine}" == "unreal2" ]; then fn_details_unreal -elif [ "${engine}" == "unreal4" ]; then - fn_details_unreal4 +elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then + fn_details_ark elif [ "${gamename}" == "Teamspeak 3" ]; then fn_details_teamspeak3 else diff --git a/functions/fn_details_config b/functions/fn_details_config index 64284e05e..c85ea2316 100644 --- a/functions/fn_details_config +++ b/functions/fn_details_config @@ -643,7 +643,7 @@ elif [ "${engine}" == "unreal" ] || [ "${engine}" == "unreal2" ]; then fi fi -elif [ "${engine}" == "unreal4" ]; then +elif [ "${gamename}" == "ARK: Survivial Evolved" ]; then # server name if [ -f "${servercfgfullpath}" ]; then