Browse Source

ut3 and kf2 bypass config checker

Daniel Gibbs 8 years ago
parent
commit
8410191aba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lgsm/functions/check_config.sh

+ 1 - 1
lgsm/functions/check_config.sh

@@ -8,7 +8,7 @@ local commandname="CHECK"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 
 if [ ! -e "${servercfgfullpath}" ]; then
 if [ ! -e "${servercfgfullpath}" ]; then
-	if [ "${gamename}" != "Hurtworld" ]; then
+	if [ "${gamename}" != "Hurtworld" ]||[ "${shortname}" != "ut3" ]||[ "${shortname}" != "kf2" ]; then
 		fn_print_dots ""
 		fn_print_dots ""
 		sleep 0.5
 		sleep 0.5
 		fn_print_warn_nl "Configuration file missing!"
 		fn_print_warn_nl "Configuration file missing!"