Explorar o código

Corrected overlooked maxplayers variables

I hope I shouldn't have created a branch for that.. Just a small dev
hotfix.
Marvin Lehmann %!s(int64=9) %!d(string=hai) anos
pai
achega
3db82db867
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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
 		# Maxplayers
 		if [ -n "${maxplayers}" ]; then
 		if [ -n "${maxplayers}" ]; then
-			echo -e "Maxplayers: ${slots}"
+			echo -e "Maxplayers: ${maxplayers}"
 		fi
 		fi
 
 
 		# Game mode
 		# Game mode

+ 1 - 1
lgsm/functions/command_details.sh

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