Просмотр исходного кода

Teamspeak 3 may not have a config

Daniel Gibbs 11 лет назад
Родитель
Сommit
e934a03abc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      functions/fn_details_config

+ 1 - 1
functions/fn_details_config

@@ -5,7 +5,7 @@
 # Version: 120715
 # Version: 120715
 
 
 # Description: Gets specific details from config files.
 # Description: Gets specific details from config files.
-if [ -e "${servercfgfullpath}" ]||[ "${engine}" == "spark" ]; then
+if [ -e "${servercfgfullpath}" ]||[ "${engine}" == "spark" ]||[ "${gamename}" == "Teamspeak 3" ]; then
 	if [ "${engine}" == "avalanche" ]; then
 	if [ "${engine}" == "avalanche" ]; then
 		 servername=$(grep -s Name "${servercfgfullpath}"|sed 's/Name//g'|tr -d '=\"; '|sed 's/,//g')
 		 servername=$(grep -s Name "${servercfgfullpath}"|sed 's/Name//g'|tr -d '=\"; '|sed 's/,//g')