Skip to content
Permalink
Browse files

Qt/NetPlayDialog: Don't create golf UI when host input authority is d…

…isabled
  • Loading branch information...
Techjar committed Apr 8, 2019
1 parent 22f5590 commit cd6c91897398e50b8c14c203e8c7a2db0550a515
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
@@ -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());
}

0 comments on commit cd6c918

Please sign in to comment.
You can’t perform that action at this time.