misc: cosmetic changes

This commit is contained in:
ds 2020-09-10 13:54:00 +03:00
commit c65272e65b
6 changed files with 8 additions and 6 deletions

View file

@ -58,7 +58,7 @@ void BotConfig::loadMainConfig () {
MemFile file;
// this is does the same as exec of engine, but not overwriting values of cvars spcified in cv_ignore_cvars_on_changelevel
if (util.openConfig ("yapb.cfg", "YaPB main config file is not found.", &file, false)) {
if (util.openConfig (strings.format ("%s.cfg", product.folder), "Bot main config file is not found.", &file, false)) {
while (file.getLine (line)) {
line.trim ();