소스 검색

Use teeworlds engine name in fn_details_config

Use the engine name instead of the game name as its more consistent with
the rest of the checks done
Bryce Van Dyk 10 년 전
부모
커밋
ae0a337477
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/fn_details_config

+ 1 - 1
functions/fn_details_config

@@ -382,7 +382,7 @@ elif [ "${gamename}" == "Teamspeak 3" ]; then
 		fileport="30033"
 	fi
 
-elif [ "${gamename}" == "Teeworlds" ]; then
+elif [ "${engine}" == "teeworlds" ]; then
 
 	# port
 	if [ -f "${servercfgfullpath}" ]; then