Procházet zdrojové kódy

fixed telnet port sd2dserver

Daniel Gibbs před 11 roky
rodič
revize
9d0188c82a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"