mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
removed m_is_running and empty password check
removed m_is_running check and empty password check
This commit is contained in:
parent
dd838c48d2
commit
a8a9f8d5f6
@ -448,9 +448,6 @@ ConnectionError NetPlayServer::OnConnect(ENetPeer* incoming_connection, sf::Pack
|
||||
if (m_start_pending)
|
||||
return ConnectionError::GameRunning;
|
||||
|
||||
if (m_is_running && !Config::Get(Config::NETPLAY_INDEX_PASSWORD).empty())
|
||||
return ConnectionError::GameRunning;
|
||||
|
||||
if (m_players.size() >= 255)
|
||||
return ConnectionError::ServerFull;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user