Core/Commands: Fix copypaste

This commit is contained in:
Shauren
2026-03-30 00:04:33 +02:00
parent 88268721c8
commit ba43c0e565

View File

@@ -46,7 +46,7 @@ void Trinity::Impl::ChatCommands::EnumArgInfoBase::AddSearchMapEntry(SearchMap&
if (title != constant)
{
auto titleIt = std::ranges::lower_bound(map, title, compare, Containers::MapKey);
if (constantIt == map.end() || compare(title, titleIt->first))
if (titleIt == map.end() || compare(title, titleIt->first))
map.emplace(titleIt, title, val); // not unique
else
titleIt->second = std::nullopt;