mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-17 12:58:55 +02:00
Core/NetPlayServer: Fix session not being added to index on direct connection type
This commit is contained in:
@ -1336,9 +1336,6 @@ bool MainWindow::NetPlayJoin()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (server != nullptr)
|
||||
server->SetNetPlayUI(m_netplay_dialog);
|
||||
|
||||
m_netplay_setup_dialog->close();
|
||||
m_netplay_dialog->show(nickname, is_traversal);
|
||||
|
||||
@ -1376,7 +1373,7 @@ bool MainWindow::NetPlayHost(const QString& game_id)
|
||||
|
||||
// Create Server
|
||||
Settings::Instance().ResetNetPlayServer(new NetPlay::NetPlayServer(
|
||||
host_port, use_upnp,
|
||||
host_port, use_upnp, m_netplay_dialog,
|
||||
NetPlay::NetTraversalConfig{is_traversal, traversal_host, traversal_port}));
|
||||
|
||||
if (!Settings::Instance().GetNetPlayServer()->is_connected)
|
||||
|
Reference in New Issue
Block a user