From d9c09be1a990272bd103be0bf5e8d7d6d27eacea Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 9 Oct 2016 00:17:34 +0100 Subject: [PATCH] added BF1942 --- lgsm/functions/install_config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index db28b2b87..95bf65124 100644 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -52,6 +52,9 @@ fn_default_config_remote(){ fn_script_log_info "copying ${servercfg} config file." if [ "${config}" == "${servercfgdefault}" ]; then cp -v "${lgsmdir}/default-configs/${config}" "${servercfgfullpath}" + elif [ "${config}" == "${networkcfgdefault}" ]; then + # ARMA 3 + cp -v "${lgsmdir}/default-configs/${config}" "${networkcfgfullpath}" else cp -v "${lgsmdir}/default-configs/${config}" "${servercfgdir}/${config}" fi @@ -79,6 +82,11 @@ elif [ "${gamename}" == "ARMA 3" ]; then array_configs+=( server.cfg network.cfg ) fn_fetch_default_config fn_default_config_remote +elif [ "${gamename}" == "Battlefield: 1942" ]; then + gamedirname="Battlefield1942" + array_configs+=( serversettings.con ) + fn_fetch_default_config + fn_default_config_remote elif [ "${gamename}" == "Blade Symphony" ]; then gamedirname="BladeSymphony" array_configs+=( server.cfg )