diff --git a/lgsm/functions/fix_arma3.sh b/lgsm/functions/fix_arma3.sh index 49f4e830e..cc3c2aaf0 100644 --- a/lgsm/functions/fix_arma3.sh +++ b/lgsm/functions/fix_arma3.sh @@ -2,12 +2,12 @@ # LGSM fix_arma3.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com -lgsm_version="210516" +lgsm_version="240516" -# Fixes: server not always creating steam_appid.txt file. -if [ ! -d "${rootdir}/.local/share/Arma\ 3" ]; then +# Fixes: 20150 Segmentation fault (core dumped) error. +if [ ! -d "${HOME}/.local/share/Arma 3" ]||[ ! -d "${HOME}/.local/share/Arma 3 - Other Profiles" ]; then fixname="20150 Segmentation fault (core dumped)" fn_fix_msg_start - mkdir -p "${rootdir}/.local/share/Arma\ 3" + mkdir -p "${HOME}/.local/share/Arma 3 - Other Profiles" fn_fix_msg_end fi \ No newline at end of file