diff --git a/code/botlib/l_log.c b/code/botlib/l_log.c index 0cfd491c..4d7c4e89 100644 --- a/code/botlib/l_log.c +++ b/code/botlib/l_log.c @@ -71,7 +71,7 @@ void Log_Open(char *filename) botimport.Print(PRT_ERROR, "log file %s is already opened\n", logfile.filename); return; } //end if - ospath = FS_BuildOSPath(Cvar_VariableString("fs_homepath"), "", filename); + ospath = FS_BuildOSPath(Cvar_VariableString("fs_homepath"), Cvar_VariableString("fs_game"), filename); logfile.fp = fopen(ospath, "wb"); if (!logfile.fp) {