瀏覽代碼

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