mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Qt/NetPlayDialog: Don't create golf UI when host input authority is disabled
This commit is contained in:
parent
22f55906e4
commit
cd6c918973
1 changed files with 2 additions and 1 deletions
|
@ -842,7 +842,8 @@ void NetPlayDialog::OnMsgStartGame()
|
|||
g_netplay_chat_ui =
|
||||
std::make_unique<NetPlayChatUI>([this](const std::string& message) { SendMessage(message); });
|
||||
|
||||
if (Settings::Instance().GetNetPlayClient()->GetNetSettings().m_GolfMode)
|
||||
if (m_host_input_authority &&
|
||||
Settings::Instance().GetNetPlayClient()->GetNetSettings().m_GolfMode)
|
||||
{
|
||||
g_netplay_golf_ui = std::make_unique<NetPlayGolfUI>(Settings::Instance().GetNetPlayClient());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue