From 5102547a7812e43ba5f994518d6402936d81e267 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 13 Jun 2018 17:53:50 +0100 Subject: [PATCH] added queryport for eco --- lgsm/functions/info_parms.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh index f1c5d81fc..57bc5bc30 100644 --- a/lgsm/functions/info_parms.sh +++ b/lgsm/functions/info_parms.sh @@ -41,6 +41,11 @@ fn_info_parms_dst(){ cave=${cave:-"NOT SET"} } +fn_info_parms_eco(){ + queryport=${port} +} + + fn_info_parms_factorio(){ port=${port:-"0"} rconport=${rconport:-"0"} @@ -147,6 +152,9 @@ elif [ "${engine}" == "realvirtuality" ]; then # Call of Duty elif [ "${gamename}" == "Call of Duty" ]||[ "${gamename}" == "Call of Duty: United Offensive" ]||[ "${engine}" == "iw2.0" ]||[ "${engine}" == "iw3.0" ]; then fn_info_parms_cod +# Eco +elif [ "${gamename}" == "Eco" ]; then + fn_info_parms_eco # Factorio elif [ "${gamename}" == "Factorio" ]; then fn_info_parms_factorio