[MapRotation] Remove tolower (not needed)

This commit is contained in:
Diavolo 2022-08-24 16:41:02 +02:00
parent 0393953ded
commit 77c25bc11f
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -63,8 +63,7 @@ namespace Components
return std::ranges::any_of(this->rotationEntries_, return std::ranges::any_of(this->rotationEntries_,
[&](const auto& entry) [&](const auto& entry)
{ {
return entry.first == Utils::String::ToLower(key) && return entry.first == key && entry.second == value;
entry.second == Utils::String::ToLower(value);
}); });
} }