mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Replace Equals with IEquals where appropriate
This commit is contained in:
@@ -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