فهرست منبع

Changed from unreal4 to ark

Im unsure if unreal4 engine will be the same config setup as ark
Daniel Gibbs 10 سال پیش
والد
کامیت
c5b55044e6
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 3 3
      functions/fn_details
  2. 1 1
      functions/fn_details_config

+ 3 - 3
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

+ 1 - 1
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