From 657dd721eb678f131e09157f33c0ed2c38a13581 Mon Sep 17 00:00:00 2001 From: Marcin Jakubowski Date: Thu, 16 Sep 2021 20:20:40 +0200 Subject: [PATCH] fix(dayzserver): fix DayZ debug parameters. --- lgsm/functions/command_debug.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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