diff options
Diffstat (limited to 'code/game')
-rw-r--r-- | code/game/ai_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/game/ai_main.c b/code/game/ai_main.c index f67af0e..b0cfd70 100644 --- a/code/game/ai_main.c +++ b/code/game/ai_main.c @@ -1593,10 +1593,11 @@ int BotInitLibrary(void) { trap_BotLibVarSet("g_gametype", buf); //bot developer mode and log file trap_BotLibVarSet("bot_developer", bot_developer.string); + trap_Cvar_VariableStringBuffer("logfile", buf, sizeof(buf)); trap_BotLibVarSet("log", buf); //no chatting trap_Cvar_VariableStringBuffer("bot_nochat", buf, sizeof(buf)); - if (strlen(buf)) trap_BotLibVarSet("nochat", "0"); + if (strlen(buf)) trap_BotLibVarSet("nochat", buf); //visualize jump pads trap_Cvar_VariableStringBuffer("bot_visualizejumppads", buf, sizeof(buf)); if (strlen(buf)) trap_BotLibVarSet("bot_visualizejumppads", buf); |