Procházet zdrojové kódy

Check if configuration directory exists before downloading and moving config files

Chaos před 9 roky
rodič
revize
784a6ff268
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      lgsm/functions/install_config.sh

+ 1 - 0
lgsm/functions/install_config.sh

@@ -490,6 +490,7 @@ elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then
 	fn_set_config_vars
 elif [ "${gamename}" == "Multi Theft Auto" ]; then
 	gamedirname="MultiTheftAuto"
+	fn_check_cfgdir
 	array_configs+=( acl.xml mtaserver.conf vehiclecolors.conf )
 	fn_fetch_default_config
 	fn_default_config_remote