Browse Source

tower unite

pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
851bcd6d24
  1. 9
      lgsm/functions/info_messages.sh
  2. 1
      lgsm/functions/info_parms.sh

9
lgsm/functions/info_messages.sh

@ -1280,12 +1280,9 @@ fn_info_message_terraria(){
fn_info_message_towerunite(){
{
fn_port "header"
echo -e "> Game\t${port}\ttcp"
# Don't do arithmetics if ever the port wasn't a numeric value
if [ "${port}" -eq "${port}" ]; then
echo -e "> Steam\t$((port+1))\tudp"
fi
echo -e "> Query\t${queryport}\tudp"
fn_port "Game" port udp
fn_port "Query" queryport udp
fn_port "Steam" steamport udp
} | column -s $'\t' -t
}

1
lgsm/functions/info_parms.sh

@ -220,6 +220,7 @@ fn_info_parms_sof2(){
fn_info_parms_towerunite(){
port=${port:-"0"}
steamport=$((port+1))
queryport=${queryport:-"0"}
}

Loading…
Cancel
Save