Replace Equals with IEquals where appropriate

This commit is contained in:
ζeh Matt committed 2023-07-05 23:14:05 +03:00
1 parent 279a056125
commit 3d5e6ea932
27 files changed
+80 -81

No files matched your search

+1 -1
View File
@@ -2113,7 +2113,7 @@ std::string NetworkBase::MakePlayerNameUnique(const std::string& name)
// Check if there is already a player with this name in the server
for (const auto& player : player_list)
{
if (String::Equals(player->Name.c_str(), new_name.c_str(), true))
if (String::IEquals(player->Name.c_str(), new_name.c_str()))
{
unique = false;
break;