Browse Source

adjust quakec

pull/4200/head
Daniel Gibbs 2 years ago
parent
commit
3b948a4d3e
  1. 2
      lgsm/modules/info_game.sh

2
lgsm/modules/info_game.sh

@ -75,7 +75,7 @@ fn_info_game_quakec() {
if [ -n "${3}" ]; then
servercfgfullpath="${3}"
fi
eval "${1}=\"$(sed -n '/^[[:space:]]*\<'"${2}"'\>/ { s/.* *\"\?\([^"]*\)\"\?/\1/p;q }' "${servercfgfullpath}" | tr -d '\r')\""
eval "${1}=\"$(sed -n '/[[:space:]]\<'"${2}"'\>/ { s/.* *\"\?\([^"]*\)\"\?/\1/p;q }' "${servercfgfullpath}" | tr -d '\r')\""
configtype="quakec"
}

Loading…
Cancel
Save