Skip to content

Commit

Permalink
fix(twserver): Change how Teeworlds configs are handled (#2313)
Browse files Browse the repository at this point in the history
Co-authored-by: Frisa <digimoncn@gmail.com>
  • Loading branch information
Frisasky authored and dgibbs64 committed Apr 28, 2019
1 parent b8f1c67 commit a7dc7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgsm/config-default/config-lgsm/twserver/_default.cfg
Expand Up @@ -17,7 +17,7 @@ ip="0.0.0.0"

## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){
parms="-f ${servercfgfullpath}"
parms="-f ${servercfg}"
}

#### LinuxGSM Settings ####
Expand Down Expand Up @@ -108,7 +108,7 @@ executabledir="${systemdir}"
executable="./teeworlds_srv"
servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir
servercfgdefault="server.cfg"
servercfgdir="${serverfiles}"
servercfgdir="${serverfiles}/tw"
servercfgfullpath="${servercfgdir}/${servercfg}"

## Backup Directory
Expand Down

0 comments on commit a7dc7fd

Please sign in to comment.