From fa270f2d063fe7db3896afc8a1c2472920fee65e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 16 Mar 2021 14:07:33 +0000 Subject: [PATCH] Revert "fix(debug): removed parms and arma3 specific execution" This reverts commit b2ba4aaa694d805356b4d8149d6a8937a1e01253. --- lgsm/functions/command_debug.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index 0e005d8a2..7925e3ff9 100755 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -106,6 +106,11 @@ cd "${executabledir}" || exit # Note: do not add double quotes to ${executable} ${startparameters}. if [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then ${executable} ${startparameters} -debug +elif [ "${shortname}" == "arma3" ]; then + # Arma3 requires semicolons in the module list, which need to + # be escaped for regular (tmux) loading, but need to be + # stripped when loading straight from the console. + ${executable} ${parms//\\;/;} elif [ "${engine}" == "quake" ]; then ${executable} ${startparameters} -condebug else