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