Procházet zdrojové kódy

Don't create config for hurtworld

UltimateByte před 10 roky
rodič
revize
f8d94fa915
1 změnil soubory, kde provedl 5 přidání a 3 odebrání
  1. 5 3
      functions/fn_install_config

+ 5 - 3
functions/fn_install_config

@@ -5,9 +5,11 @@
 lgsm_version="201215"
 
 fn_defaultconfig(){
-echo "creating ${servercfg} config file."
-cp -v "${servercfgdefault}" "${servercfgfullpath}"
-sleep 1
+if [ "${gamename}" != "Hurtworld" ]; then
+	echo "creating ${servercfg} config file."
+	cp -v "${servercfgdefault}" "${servercfgfullpath}"
+	sleep 1
+fi
 }
 
 fn_userinputconfig(){