Address review

This commit is contained in:
Diavolo 2022-06-03 14:45:14 +02:00
parent 6c76136c5c
commit 92a9eb58ad
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -58,11 +58,7 @@ namespace Components
void Party::RemoveLobby(SteamID lobby)
{
const auto got = Party::LobbyMap.find(lobby.bits);
if (got != Party::LobbyMap.end())
{
Party::LobbyMap.erase(got);
}
Party::LobbyMap.erase(lobby.bits);
}
void Party::ConnectError(const std::string& message)