diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index d58b4644a..8d779e964 100755 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -114,10 +114,12 @@ fi if [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then ${executable} ${startparameters} -debug elif [ "${shortname}" == "arma3" ]; then - # Arma3 and DayZ requires semicolons in the module list, which need to + # 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 [ "${shortname}" == "dayz" ]; then + eval "${preexecutable} ${executable} ${startparameters}" elif [ "${engine}" == "quake" ]; then ${executable} ${startparameters} -condebug else