Skip to content

Commit

Permalink
Merge pull request #145 from daiser/137-fix-bot-quota
Browse files Browse the repository at this point in the history
fix bot_quota_mode shadowing
  • Loading branch information
joedwards32 authored Dec 28, 2024
2 parents abc0d59 + 0728ecc commit 79a6436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookworm/etc/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if [[ ! -z $CS2_BOT_DIFFICULTY ]] ; then
sed -i "s/bot_difficulty.*/bot_difficulty ${CS2_BOT_DIFFICULTY}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
fi
if [[ ! -z $CS2_BOT_QUOTA ]] ; then
sed -i "s/bot_quota.*/bot_quota ${CS2_BOT_QUOTA}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
sed -ri "s/bot_quota[[:space:]]+.*/bot_quota ${CS2_BOT_QUOTA}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
fi
if [[ ! -z $CS2_BOT_QUOTA_MODE ]] ; then
sed -i "s/bot_quota_mode.*/bot_quota_mode ${CS2_BOT_QUOTA_MODE}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
Expand Down

0 comments on commit 79a6436

Please sign in to comment.