Merge pull request #11071 from AdmiralCurtiss/netplay-settings-style

Netplay: Rename variable names in NetSettings to match style guide.
This commit is contained in:
JosJuice
2022-09-19 17:55:36 +02:00
committed by GitHub
6 changed files with 372 additions and 375 deletions

View File

@ -850,8 +850,7 @@ void NetPlayDialog::OnMsgStartGame()
g_netplay_chat_ui =
std::make_unique<NetPlayChatUI>([this](const std::string& message) { SendMessage(message); });
if (m_host_input_authority &&
Settings::Instance().GetNetPlayClient()->GetNetSettings().m_GolfMode)
if (m_host_input_authority && Settings::Instance().GetNetPlayClient()->GetNetSettings().golf_mode)
{
g_netplay_golf_ui = std::make_unique<NetPlayGolfUI>(Settings::Instance().GetNetPlayClient());
}