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