Browse Source

fix(valheim): disable queryport if public is set to 0 (#3374)

pull/3382/head
Christian 4 years ago
committed by Daniel Gibbs
parent
commit
641109750a
  1. 6
      lgsm/functions/info_parms.sh

6
lgsm/functions/info_parms.sh

@ -237,7 +237,11 @@ fn_info_parms_ut(){
fn_info_parms_vh(){
port=${port:-"0"}
queryport=$((port + 1))
if [ "${public}" != "0" ]; then
queryport=$((port + 1))
else
querymode="1"
fi
gameworld=${gameworld:-"NOT SET"}
serverpassword=${serverpassword:-"NOT SET"}
servername=${servername:-"NOT SET"}

Loading…
Cancel
Save