Procházet zdrojové kódy

fix(cd): add config install (#3726)

Christian před 4 roky
rodič
revize
588453a43a
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7 0
      lgsm/functions/install_config.sh

+ 7 - 0
lgsm/functions/install_config.sh

@@ -274,6 +274,13 @@ elif [ "${shortname}" == "bmdm" ]; then
 	fn_default_config_remote
 	fn_set_config_vars
 	fn_list_config_locations
+elif [ "${shortname}" == "cd" ]; then
+	gamedirname="CraftingDead"
+	array_configs+=( properties.json )
+	fn_fetch_default_config
+	fn_default_config_remote
+	fn_set_config_vars
+	fn_list_config_locations
 elif [ "${shortname}" == "cod" ]; then
 	gamedirname="CallOfDuty"
 	array_configs+=( server.cfg )