timche/docker-csgo

Re-enable bots

Closed this issue · 2 comments

When disabling bots via CSGO_DISABLE_BOTS=true bot files get completly removed by the startup script:

if [ "${CSGO_DISABLE_BOTS-"false"}" = "true" ]; then
if [ -f "botchatter.db" ]; then
rm "botchatter.db"
fi
if [ -f "botprofilecoop.db" ]; then
rm "botprofilecoop.db"
fi
if [ -f "botprofile.db" ]; then
rm "botprofile.db"
fi
fi

It's impossible to re-enable bots again, but it would be possible when the script just renames the botfiles...

Thanks for your suggestion! Will change this 👍