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

Corrected overlooked maxplayers variables

I hope I shouldn't have created a branch for that.. Just a small dev
hotfix.
Marvin Lehmann 9 лет назад
Родитель
Сommit
3db82db867
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      lgsm/functions/alert_email.sh
  2. 1 1
      lgsm/functions/command_details.sh

+ 1 - 1
lgsm/functions/alert_email.sh

@@ -135,7 +135,7 @@ fn_details_gameserver(){
 
 		# Maxplayers
 		if [ -n "${maxplayers}" ]; then
-			echo -e "Maxplayers: ${slots}"
+			echo -e "Maxplayers: ${maxplayers}"
 		fi
 
 		# Game mode

+ 1 - 1
lgsm/functions/command_details.sh

@@ -135,7 +135,7 @@ fn_details_gameserver(){
 
 		# Maxplayers
 		if [ -n "${maxplayers}" ]; then
-			echo -e "${blue}Maxplayers:\t${default}${slots}"
+			echo -e "${blue}Maxplayers:\t${default}${maxplayers}"
 		fi
 
 		# Game mode