Netplay: Rename variable names in NetSettings to match style guide.

This commit is contained in:
Admiral H. Curtiss
2022-09-19 01:18:26 +02:00
parent 07f86446a6
commit bec4850fc3
6 changed files with 372 additions and 373 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());
}