Browse Source

prevent masterserver from checking more than once per command

pull/3568/head
Daniel Gibbs 4 years ago
parent
commit
24403d63d3
  1. 4
      lgsm/functions/info_distro.sh

4
lgsm/functions/info_distro.sh

@ -271,6 +271,8 @@ else
fi
# Steam Master Server - checks if detected by master server.
if [ "${masterserverbypass}" == "1" ]; then
masterserverbypass=1
if [ "$(command -v jq 2>/dev/null)" ]; then
if [ "${ip}" ]&&[ "${port}" ]; then
if [ "${steammaster}" == "true" ]||[ ${commandname} == "DEV-QUERY-RAW" ]; then
@ -290,7 +292,7 @@ if [ "$(command -v jq 2>/dev/null)" ]; then
fi
fi
fi
fi
# Sets the SteamCMD glibc requirement if the game server requirement is less or not required.
if [ "${appid}" ]; then
if [ "${glibc}" = "null" ]||[ -z "${glibc}" ]||[ "$(printf '%s\n'${glibc}'\n' "2.14" | sort -V | head -n 1)" != "2.14" ]; then

Loading…
Cancel
Save