Browse Source

arma3

pull/4200/head
Daniel Gibbs 3 years ago
parent
commit
aae51cce4c
No known key found for this signature in database GPG Key ID: 7CA38B43F78F12FE
  1. 2
      lgsm/modules/info_game.sh

2
lgsm/modules/info_game.sh

@ -68,7 +68,7 @@ fn_info_game_sqf() {
if [ -n "${3}" ]; then if [ -n "${3}" ]; then
servercfgfullpath="${3}" servercfgfullpath="${3}"
fi fi
eval "${1}"="$(sed -n "s/\(${2}\)\s*=.*/\1/p;q" "${servercfgfullpath}")" eval "${1}"="$(sed -n "/^[^/]*${2} = \"\(.*\)\";/{s//\1/;p;q;}" "${servercfgfullpath}")"
} }
# Config Type: XML # Config Type: XML

Loading…
Cancel
Save