瀏覽代碼

Check if configuration directory exists before downloading and moving config files

Chaos 9 年之前
父節點
當前提交
784a6ff268
共有 1 個文件被更改,包括 1 次插入0 次删除
  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