diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index b590960a5..f3ee70fcb 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -2249,13 +2249,14 @@ fn_info_game_xnt() { if [ -f "${servercfgfullpath}" ]; then fn_info_game_ini "adminpassword" "rconpassword" fn_info_game_ini "port" "port" + fn_info_game_ini "queryport" "queryport" fn_info_game_ini "servername" "hostname" fn_info_game_ini "maxplayers" "maxplayers" else - maxplayers="${maxplayers:-"8"}" - port="${port:-"2600"}" - adminpassword="${rconpassword:-"NOT SET"}" - servername="${servername:-"NOT SET"}" + maxplayers="${maxplayers:-"8"}" + port="${port:-"2600"}" + adminpassword="${rconpassword:-"NOT SET"}" + servername="${servername:-"NOT SET"}" fi } diff --git a/lgsm/modules/info_messages.sh b/lgsm/modules/info_messages.sh index 8f28cacab..0bc444e5e 100644 --- a/lgsm/modules/info_messages.sh +++ b/lgsm/modules/info_messages.sh @@ -668,7 +668,7 @@ fn_info_messages_ports_edit() { startparameterslocation="${red}UNKNOWN${default}" # engines/games that require editing in the config file. - local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "ct" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "nec" "pc" "pc2" "prism3d" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "wurm") + local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "ct" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "nec" "pc" "pc2" "prism3d" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "xnt" "wurm") for port_edit in "${ports_edit_array[@]}"; do if [ "${shortname}" == "ut3" ]; then startparameterslocation="${servercfgdir}/UTWeb.ini"