From c8d995b9e39bc22d57d6ea6c8a7a8a8d076de161 Mon Sep 17 00:00:00 2001 From: Attila Date: Sat, 13 Oct 2018 01:59:03 +0200 Subject: [PATCH] Add game_type to info_messages.sh CS:GO has game_type and game_mode for example. --- lgsm/functions/info_messages.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index ebe44854d..aaf112676 100644 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -222,6 +222,11 @@ fn_info_message_gameserver(){ echo -e "${blue}Default Map:\t${default}${defaultmap}" fi + # Game type + if [ -n "${gametype}" ]; then + echo -e "${blue}Game type:\t${default}${gametype}" + fi + # Game mode if [ -n "${gamemode}" ]; then echo -e "${blue}Game mode:\t${default}${gamemode}" @@ -1235,4 +1240,4 @@ fn_info_message_password_strip(){ fi fi -} \ No newline at end of file +}