|
@@ -112,17 +112,12 @@ fi
|
|
|
|
|
|
|
|
# Note: do not add double quotes to ${executable} ${startparameters}.
|
|
# Note: do not add double quotes to ${executable} ${startparameters}.
|
|
|
if [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then
|
|
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//\\;/;}
|
|
|
|
|
|
|
+ eval "${executable} ${startparameters} -debug"
|
|
|
elif [ "${engine}" == "quake" ]; then
|
|
elif [ "${engine}" == "quake" ]; then
|
|
|
- ${executable} ${startparameters} -condebug
|
|
|
|
|
|
|
+ eval "${executable} ${startparameters} -condebug"
|
|
|
else
|
|
else
|
|
|
# shellcheck disable=SC2086
|
|
# shellcheck disable=SC2086
|
|
|
- ${preexecutable} ${executable} ${startparameters}
|
|
|
|
|
|
|
+ eval "${preexecutable} ${executable} ${startparameters}"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
fn_lockfile_trap
|
|
fn_lockfile_trap
|