Add a config option for dropping obsolete quests (#745)

This commit is contained in:
Revision
2024-12-06 08:45:41 +01:00
committed by GitHub
parent 8c84026116
commit f096c2089f
4 changed files with 11 additions and 0 deletions

View File

@@ -68,6 +68,11 @@ bool CleanQuestLogAction::Execute(Event event)
return false;
}
if (!sPlayerbotAIConfig->dropObsoleteQuests)
{
return false;
}
// Only output this message if "debug rpg" strategy is enabled
if (botAI->HasStrategy("debug rpg", BotState::BOT_STATE_COMBAT))
{