|
|
@ -131,7 +131,10 @@ 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 |
|
|
|
fn_create_config default |
|
|
|
cfg_version_default=$(grep lgsm_version "${cfg_file_default}" 2>&1 | cut -d'=' -f2 | sed -e 's/"//g') |
|
|
|
if [ "${cfg_version}" != "${version}" ]; then |
|
|
|
fn_create_config default 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# Load defaults |
|
|
|
source $cfg_file_default |
|
|
|