mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Check presence of name and region in NetPlayServer
This commit is contained in:
parent
2fa4ef729f
commit
8e278b8053
@ -169,8 +169,11 @@ static void ClearPeerPlayerId(ENetPeer* peer)
|
||||
|
||||
void NetPlayServer::SetupIndex()
|
||||
{
|
||||
if (!Config::Get(Config::NETPLAY_USE_INDEX))
|
||||
if (!Config::Get(Config::NETPLAY_USE_INDEX) || Config::Get(Config::NETPLAY_INDEX_NAME).empty() ||
|
||||
Config::Get(Config::NETPLAY_INDEX_REGION).empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
NetPlaySession session;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user