From 08a6875142e1b07421e520de2b30f84c672433ad Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Tue, 13 Jul 2021 21:30:03 +0100
Subject: [PATCH] ut3

---
 lgsm/functions/info_config.sh | 6 +++---
 lgsm/functions/info_parms.sh  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh
index e97e13143..626b7c77b 100755
--- a/lgsm/functions/info_config.sh
+++ b/lgsm/functions/info_config.sh
@@ -1118,7 +1118,7 @@ fn_info_config_unreal2(){
 	fi
 }
 
-fn_info_config_unreal3(){
+fn_info_config_ut3(){
 	if [ ! -f "${servercfgfullpath}" ]; then
 		servername="${unavailable}"
 		serverpassword="${unavailable}"
@@ -1865,10 +1865,10 @@ elif [ "${engine}" == "unreal" ]; then
 	fn_info_config_unreal
 elif [ "${engine}" == "unreal2" ]; then
 	fn_info_config_unreal2
-elif [ "${engine}" == "unreal3" ]; then
-	fn_info_config_unreal3
 elif [ "${shortname}" == "ut" ]; then
 	fn_info_config_ut
+elif [ "${shortname}" == "ut3" ]; then
+	fn_info_config_ut3
 elif [ "${shortname}" == "wet" ]; then
 	fn_info_config_wet
 elif [ "${shortname}" == "wf" ]; then
diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh
index 9b1ad3991..b1f2e1271 100755
--- a/lgsm/functions/info_parms.sh
+++ b/lgsm/functions/info_parms.sh
@@ -230,7 +230,7 @@ fn_info_parms_unreal2(){
 	queryport=$((port+1))
 }
 
-fn_info_parms_unreal3(){
+fn_info_parms_ut3(){
 	port=${port:-"0"}
 	queryport=${queryport:-"0"}
 	defaultmap=${defaultmap:-"NOT SET"}
@@ -323,8 +323,8 @@ elif [ "${shortname}" == "mta" ]; then
 	fn_info_parms_mta
 elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
 	fn_info_parms_unreal
-elif [ "${engine}" == "unreal3" ]; then
-	fn_info_parms_unreal3
+elif [ "${shortname}" == "ut3" ]; then
+	fn_info_parms_ut3
 elif [ "${shortname}" == "unt" ]; then
 	fn_info_parms_unt
 elif [ "${shortname}" == "ut" ]; then