Browse Source

Added fix to support older TS3 scripts

pull/942/head
Marvin Lehmann 9 years ago
parent
commit
a3d06f32bd
  1. 2
      lgsm/functions/command_restart.sh
  2. 4
      lgsm/functions/core_functions.sh

2
lgsm/functions/command_restart.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_start.sh function # LGSM command_restart.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Restarts the server. # Description: Restarts the server.

4
lgsm/functions/core_functions.sh

@ -17,6 +17,10 @@ functionfile="${FUNCNAME}"
fn_fetch_function fn_fetch_function
} }
# fix for older TeamSpeak 3 scripts
if [ "${gamename}" == "Teamspeak 3" ]; then
gamename = "TeamSpeak 3"
fi
# fn_fetch_core_dl also placed here to allow legacy servers to still download core functions # fn_fetch_core_dl also placed here to allow legacy servers to still download core functions
if [ -z "${lgsmdir}" ]; then if [ -z "${lgsmdir}" ]; then

Loading…
Cancel
Save