removed m_is_running and empty password check

removed m_is_running check and empty password check
This commit is contained in:
fizzlepicklepop 2025-10-14 05:21:41 -04:00
parent dd838c48d2
commit a8a9f8d5f6

View File

@ -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;