Просмотр исходного кода

ut3 and kf2 bypass config checker

Daniel Gibbs 8 лет назад
Родитель
Сommit
8410191aba
1 измененных файлов с 1 добавлено и 1 удалено
  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]}"))"
 
 if [ ! -e "${servercfgfullpath}" ]; then
-	if [ "${gamename}" != "Hurtworld" ]; then
+	if [ "${gamename}" != "Hurtworld" ]||[ "${shortname}" != "ut3" ]||[ "${shortname}" != "kf2" ]; then
 		fn_print_dots ""
 		sleep 0.5
 		fn_print_warn_nl "Configuration file missing!"