Browse Source

Revert "fix(debug): removed parms and arma3 specific execution"

This reverts commit b2ba4aaa69.
pull/3386/head
Daniel Gibbs 5 years ago
parent
commit
fa270f2d06
  1. 5
      lgsm/functions/command_debug.sh

5
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

Loading…
Cancel
Save