[Bug Fix] Fix #findaa and GetAAName(). (#2774)

# Notes
- These were not properly checking every possible AA ID.
This commit is contained in:
Alex King
2023-01-22 12:56:49 -05:00
committed by GitHub
parent d0edb93d62
commit 0a11eaa092
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ void command_findaa(Client *c, const Seperator *sep)
std::map<int, std::string> ordered_aas;
for (const auto& a : zone->aa_abilities) {
ordered_aas[a.second.get()->id] = a.second.get()->name;
ordered_aas[a.second.get()->first->id] = a.second.get()->name;
}
int found_count = 0;