Ver código fonte

ARMA 3 changes for configs

added server config directory creation

added network config copy code
aikidoka 11 anos atrás
pai
commit
1c2d8fa4b2
1 arquivos alterados com 4 adições e 2 exclusões
  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