Browse Source

Fixes config stuff

pull/1310/head
Marvin Lehmann 8 years ago
parent
commit
e57b163c58
  1. 4
      TowerUnite/tuserver
  2. 2
      lgsm/functions/info_config.sh
  3. 1
      lgsm/functions/install_config.sh

4
TowerUnite/tuserver

@ -100,10 +100,10 @@ filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}/Tower"
executabledir="${systemdir}/Binaries/Linux"
executable="./TowerServer-Linux-Shipping"
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
servercfgdir="${systemdir}/Binaries/Linux"
servercfg="${servicename}.ini"
servercfgfullpath="${servercfgdir}/${servercfg}"
servercfgdefault="${servercfgdir}/TowerServer.ini"
servercfgdefault="TowerServer.ini"
## Backup Directory
backupdir="${rootdir}/backups"

2
lgsm/functions/info_config.sh

@ -720,7 +720,7 @@ elif [ "${engine}" == "teeworlds" ]; then
elif [ "${engine}" == "terraria" ]; then
fn_info_config_terraria
# Tower Unite
elif [ "${gamename}" == "towerunite" ]; then
elif [ "${gamename}" == "Tower Unite" ]; then
fn_info_config_towerunite
# Unreal/Unreal 2 engine
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then

1
lgsm/functions/install_config.sh

@ -482,6 +482,7 @@ elif [ "${gamename}" == "Terraria" ]; then
fn_set_config_vars
elif [ "${gamename}" == "Tower Unite" ]; then
gamedirname="TowerUnite"
fn_check_cfgdir
array_configs+=( TowerServer.ini )
fn_fetch_default_config
fn_default_config_remote

Loading…
Cancel
Save