From cd6c91897398e50b8c14c203e8c7a2db0550a515 Mon Sep 17 00:00:00 2001 From: Techjar Date: Mon, 8 Apr 2019 07:09:20 -0400 Subject: [PATCH] Qt/NetPlayDialog: Don't create golf UI when host input authority is disabled --- Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp index e9592ca1fb..5ccb0340b3 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp @@ -842,7 +842,8 @@ void NetPlayDialog::OnMsgStartGame() g_netplay_chat_ui = std::make_unique([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(Settings::Instance().GetNetPlayClient()); }