forked from rosebudai/OpenRCT2-Web
Replace Equals with IEquals where appropriate
This commit is contained in:
27 files changed
+80
-81
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user