Browse Source

Corrected overlooked maxplayers variables

I hope I shouldn't have created a branch for that.. Just a small dev
hotfix.
Marvin Lehmann 9 years ago
parent
commit
3db82db867
2 changed files with 2 additions and 2 deletions
  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