Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
ae0a337477
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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