Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS2_BOT_QUOTA shadows CS2_BOT_QUOTA_MODE #137

Closed
daiser opened this issue Nov 6, 2024 · 1 comment · Fixed by #145
Closed

CS2_BOT_QUOTA shadows CS2_BOT_QUOTA_MODE #137

daiser opened this issue Nov 6, 2024 · 1 comment · Fixed by #145
Assignees
Labels
bug Something isn't working

Comments

@daiser
Copy link
Contributor

daiser commented Nov 6, 2024

Hi!

sed in entry.sh replaces all bot_quota_mode with bot_quota $CS2_BOT_QUOTA.

I believe it could be fixed by changing regex here:

sed -i "s/bot_quota.*/bot_quota ${CS2_BOT_QUOTA}/" "${STEAMAPPDIR}"/game/csgo/cfg/*

Possible fix "s/bot_quota .*/bot_quota ${CS2_BOT_QUOTA}/". Note space between bot_quota and .*.

Another option is "s/bot_quota [0-9]*/bot_quota ${CS2_BOT_QUOTA}/".

@joedwards32 joedwards32 self-assigned this Nov 6, 2024
@joedwards32 joedwards32 added the bug Something isn't working label Nov 20, 2024
@joedwards32
Copy link
Owner

Thanks for the bug report. I'll take a look when I have a mo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants