Merge pull request #145 from daiser/137-fix-bot-quota
fix bot_quota_mode shadowing
This commit is contained in:
commit
79a6436ae0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ if [[ ! -z $CS2_BOT_DIFFICULTY ]] ; then
|
||||||
sed -i "s/bot_difficulty.*/bot_difficulty ${CS2_BOT_DIFFICULTY}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
|
sed -i "s/bot_difficulty.*/bot_difficulty ${CS2_BOT_DIFFICULTY}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
|
||||||
fi
|
fi
|
||||||
if [[ ! -z $CS2_BOT_QUOTA ]] ; then
|
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
|
fi
|
||||||
if [[ ! -z $CS2_BOT_QUOTA_MODE ]] ; then
|
if [[ ! -z $CS2_BOT_QUOTA_MODE ]] ; then
|
||||||
sed -i "s/bot_quota_mode.*/bot_quota_mode ${CS2_BOT_QUOTA_MODE}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
|
sed -i "s/bot_quota_mode.*/bot_quota_mode ${CS2_BOT_QUOTA_MODE}/" "${STEAMAPPDIR}"/game/csgo/cfg/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue