Browse Source

fix(details): steam port showing when unavailable

pull/3590/head
Daniel Gibbs 4 years ago
parent
commit
bdd5b1f22c
No known key found for this signature in database GPG Key ID: 5D5AB867A27738EC
  1. 2
      lgsm/functions/info_messages.sh

2
lgsm/functions/info_messages.sh

@ -1366,7 +1366,7 @@ fn_info_message_source(){
fn_port "RCON" rconport tcp
fn_port "SourceTV" sourcetvport udp
# Will not show if unaviable
if [ "${steamport}" == "0" ]||[ -z "${steamport}" ]; then
if [ "${steamport}" == "0" ]||[ -v "${steamport}" ]; then
fn_port "Steam" steamport udp
fi
fn_port "Client" clientport udp

Loading…
Cancel
Save