Browse Source

fixed telnet port sd2dserver

Daniel Gibbs 11 years ago
parent
commit
9d0188c82a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/fn_details_config

+ 1 - 1
functions/fn_details_config

@@ -466,7 +466,7 @@ elif [ "${engine}" == "unity3d" ]; then
 
 	# telnet port
 	if [ -f "${servercfgfullpath}" ]; then
-		telnetport=$(grep "ControlPanelPort" "${servercfgfullpath}"|tr -cd [:digit:])
+		telnetport=$(grep "TelnetPort" "${servercfgfullpath}"|tr -cd [:digit:])
 	fi
 	if [ ! -n "${telnetport}" ]; then
 		telnetport="0"