Procházet zdrojové kódy

Corrected overlooked maxplayers variables

I hope I shouldn't have created a branch for that.. Just a small dev
hotfix.
Marvin Lehmann před 9 roky
rodič
revize
3db82db867

+ 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