Explorar o código

ARMA 3 changes for configs

added server config directory creation

added network config copy code
aikidoka %!s(int64=11) %!d(string=hai) anos
pai
achega
1c2d8fa4b2
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      functions/fn_install_config

+ 4 - 2
functions/fn_install_config

@@ -2,10 +2,12 @@
 # LGSM fn_server function
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
-# Version: 210115
+# Version: 200315
 
 fn_arma3config(){
+touch "${servercfgdir}"
 cp -v lgsm-default.cfg "${servercfgfullpath}"
+cp -v lgsm-default.network.cfg "${networkcfgfullpath}"
 sleep 1
 echo ""
 }
@@ -243,4 +245,4 @@ elif [ "${gamename}" == "Unreal Tournament 2004" ]; then
 	fn_unreal2config
 elif [ "${gamename}" == "Unreal Tournament 99" ]; then
 	fn_ut99config
-fi
+fi