[Bots] Fix ^defensive from checking aggressive disciplines. (#3787)

Bots were checking for aggressive disciplines with both ^aggressive and ^defensive.
This commit is contained in:
nytmyr 2023-12-18 15:38:37 -06:00 committed by GitHub
parent b3cd4e63f1
commit 933b83add6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3302,7 +3302,7 @@ void bot_command_defensive(Client *c, const Seperator *sep)
auto local_entry = list_iter->SafeCastToStance();
if (helper_spell_check_fail(local_entry))
continue;
if (local_entry->stance_type != BCEnum::StT_Aggressive)
if (local_entry->stance_type != BCEnum::StT_Defensive)
continue;
for (auto bot_iter = sbl.begin(); bot_iter != sbl.end(); ) {