Skip to content

Commit

Permalink
Update entry.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolfx authored Jan 6, 2024
1 parent e62d950 commit 77bb5d6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion etc/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ if [ ! -z "${SRCDS_STARTMAP}" ]; then
START_MAP="+map \"${SRCDS_STARTMAP}\""
fi

TICKRATE=""
if [ ! -z "${SRCDS_TICKRATE}" ]; then
TICKRATE="-tickrate ${TICKRATE}"
fi

START_CUSTOM="${SRCDS_START_CUSTOMS}"

bash "${STEAMAPPDIR}/srcds_run" -game "${STEAMAPP}" -console \
-steam_dir "${STEAMCMDDIR}" \
-steamcmd_script "${HOMEDIR}/${STEAMAPP}_update.txt" \
Expand All @@ -74,4 +81,5 @@ bash "${STEAMAPPDIR}/srcds_run" -game "${STEAMAPP}" -console \
${HOSTNAME_PARAM} \
${DEBUG_ENABLED} \
${START_MAP} \
${SRCDS_START_CUSTOMS}
${TICKRATE} \
${START_CUSTOM}

0 comments on commit 77bb5d6

Please sign in to comment.