Преглед на файлове

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