diff --git a/lgsm/functions/alert_email.sh b/lgsm/functions/alert_email.sh index 7ec60b661..6b440070c 100644 --- a/lgsm/functions/alert_email.sh +++ b/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 diff --git a/lgsm/functions/command_details.sh b/lgsm/functions/command_details.sh index a1fd28f79..2f26501e0 100644 --- a/lgsm/functions/command_details.sh +++ b/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