diff --git a/lgsm/functions/fix_nec.sh b/lgsm/functions/fix_nec.sh index 816c12024..5b8466dcf 100644 --- a/lgsm/functions/fix_nec.sh +++ b/lgsm/functions/fix_nec.sh @@ -19,4 +19,8 @@ if [ "${postinstall}" == "1" ]; then fn_firstcommand_reset fi +fn_default_config_local +fn_set_config_vars +fn_list_config_locations + diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index a216327c9..400c4f15d 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -658,7 +658,7 @@ fn_info_message_ports_edit() { startparameterslocation="${red}UNKNOWN${default}" # engines/games that require editing in the config file. - local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "cd" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "mumble" "pc" "pc2" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "wurm") + local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "cd" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "mumble" "nec" "pc" "pc2" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "wurm") for port_edit in "${ports_edit_array[@]}"; do if [ "${shortname}" == "ut3" ]; then startparameterslocation="${servercfgdir}/UTWeb.ini" diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index 31e1c1326..049df27ce 100755 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -637,10 +637,6 @@ elif [ "${shortname}" == "pz" ]; then elif [ "${shortname}" == "nec" ]; then gamedirname="Necesse" fn_check_cfgdir - fn_default_config_local - fn_set_config_vars - fn_list_config_locations - elif [ "${shortname}" == "pc" ]; then gamedirname="ProjectCars" array_configs+=(server.cfg)