diff --git a/Source/Core/Core/NetPlayServer.cpp b/Source/Core/Core/NetPlayServer.cpp index bc96d0f952..fc4f1da4d2 100644 --- a/Source/Core/Core/NetPlayServer.cpp +++ b/Source/Core/Core/NetPlayServer.cpp @@ -357,7 +357,8 @@ void NetPlayServer::ThreadFunc() ClearPeerPlayerId(player_entry.second.socket); enet_peer_disconnect(player_entry.second.socket, 0); } -} // namespace NetPlay + m_players.clear(); +} static void SendSyncIdentifier(sf::Packet& spac, const SyncIdentifier& sync_identifier) {