From c4563c67bb07bd9b10a74ba6ecb710ffb1602795 Mon Sep 17 00:00:00 2001 From: Jared Ballou Date: Tue, 19 Jan 2016 04:23:33 -0500 Subject: [PATCH] More hash updates --- functions/game_settings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/game_settings.sh b/functions/game_settings.sh index 5cc9f4a54..9da3863dd 100644 --- a/functions/game_settings.sh +++ b/functions/game_settings.sh @@ -131,7 +131,7 @@ fn_flush_game_settings fn_import_game_settings $selfname # New method is to always run this function, it will overwrite defaults with whatever the new script values are -cfg_version_default=$(grep lgsm_version "${cfg_file_default}" 2>&1 | cut -d'=' -f2 | sed -e 's/"//g') +cfg_version_default=$(grep '^lgsm_version="' "${cfg_file_default}" 2>&1 | cut -d'"' -f2) if [ "${cfg_version_default}" != "${version}" ]; then fn_create_config default 1 fi