From bc6eddb6323e18ad181157fde554e578d0d77e4f Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 29 May 2017 15:46:25 +0100 Subject: [PATCH] added madness engine to gsquery --- lgsm/functions/command_monitor.sh | 2 +- lgsm/functions/gsquery.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_monitor.sh b/lgsm/functions/command_monitor.sh index cd12285cf..d940bea70 100644 --- a/lgsm/functions/command_monitor.sh +++ b/lgsm/functions/command_monitor.sh @@ -79,7 +79,7 @@ fn_monitor_tmux(){ fn_print_ok_eol_nl fn_script_log_pass "Checking session: OK" # runs gsquery check on game with specific engines. - local allowed_engines_array=( avalanche goldsource idtech3 idtech3_ql iw2.0 iw3.0 quake refractor realvirtuality source spark unity3d unreal unreal2 ) + local allowed_engines_array=( avalanche goldsource idtech3 idtech3_ql iw2.0 iw3.0 madness quake refractor realvirtuality source spark unity3d unreal unreal2 ) for allowed_engine in "${allowed_engines_array[@]}" do if [ "${allowed_engine}" == "${engine}" ]; then diff --git a/lgsm/functions/gsquery.py b/lgsm/functions/gsquery.py index e1f5c3f77..40e6c2950 100644 --- a/lgsm/functions/gsquery.py +++ b/lgsm/functions/gsquery.py @@ -17,7 +17,7 @@ class PythonGSQ: self.server_response_timeout = 5 self.default_buffer_length = 1024 # - sourcequery=['quakelive','realvirtuality','refractor','source','goldsource','spark','unity3d'] + sourcequery=['madness','quakelive','realvirtuality','refractor','source','goldsource','spark','unity3d'] idtech2query=['idtech3','quake','iw3.0'] idtech3query=['idtech2','iw2.0'] if self.option.engine in sourcequery: