chore: add log message when launching the game

This commit is contained in:
bastimeyer 2021-12-06 17:29:51 +01:00
parent bc5bef480d
commit b68790f2f0

View file

@ -210,6 +210,7 @@ main() {
[[ -n "${mods}" ]] && cmdline+=("-mod=${mods}")
[[ -n "${SERVER}" ]] && cmdline+=("-connect=${SERVER}" -nolauncher -world=empty)
[[ -n "${NAME}" ]] && cmdline+=("-name=${NAME}")
msg "Launching DayZ"
( set -x; steam -applaunch "${DAYZ_ID}" "${cmdline[@]}"; )
elif [[ -n "${mods}" ]]; then
msg "Add this to your game's launch options, including the quotes:"