Daniel Gibbs 8 лет назад
Родитель
Сommit
ae15e42522
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      lgsm/functions/info_config.sh

+ 3 - 3
lgsm/functions/info_config.sh

@@ -507,7 +507,7 @@ fn_info_config_starbound(){
 		# Not Set
 		# Not Set
 		servername=${servername:-"NOT SET"}
 		servername=${servername:-"NOT SET"}
 		queryenabled=${queryenabled:-"NOT SET"}
 		queryenabled=${queryenabled:-"NOT SET"}
-		rconenabled==${rconenabled:-"NOT SET"}
+		rconenabled=${rconenabled:-"NOT SET"}
 		rconpassword=${rconpassword:-"NOT SET"}
 		rconpassword=${rconpassword:-"NOT SET"}
 		port=${port:-"21025"}
 		port=${port:-"21025"}
 		queryport=${queryport:-"21025"}
 		queryport=${queryport:-"21025"}
@@ -914,10 +914,10 @@ elif [ "${engine}" == "dontstarve" ]; then
 elif [ "${gamename}" == "Factorio" ]; then
 elif [ "${gamename}" == "Factorio" ]; then
 	fn_info_config_factorio
 	fn_info_config_factorio
 # Just Cause 2
 # Just Cause 2
-if [ "${gamename}" == "Just Cause 2" ]; then
+elif [ "${gamename}" == "Just Cause 2" ]; then
 	fn_info_config_justcause2
 	fn_info_config_justcause2
 # Just Cause 3
 # Just Cause 3
-if [ "${gamename}" == "Just Cause 3" ]; then
+elif [ "${gamename}" == "Just Cause 3" ]; then
 	fn_info_config_justcause3
 	fn_info_config_justcause3
 # Killing Floor 2
 # Killing Floor 2
 elif [ "${shortname}" == "kf2" ]; then
 elif [ "${shortname}" == "kf2" ]; then