Ver Fonte

fixed telnet port sd2dserver

Daniel Gibbs há 11 anos atrás
pai
commit
9d0188c82a
1 ficheiros alterados com 1 adições e 1 exclusões
  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"